Re: wicket vs tapestry ?

2007-08-22 Thread Konstantin Ignatyev
My story:

I have been very satisfied Tapestry 3 used and T3 has
helped tremendously with building applications in the
past. 

Then I was busy doing other things although keeping
eye on T and recently I needed to build a live
prototype quickly, naturally my first reaction was to
pick up Dreamweaver and try Tapestry 5.
 
T5 is amazingly good BUT I needed Ajax support and at
this moment Wicket makes leaps and bounds around T5 in
this area.

So I abandoned T5 and started using Wicket - so far I
am very satisfied with it although worry if Wicket is
production grade for high traffic sites because of its
heavy use of HttpSession as storage. 
   
So for now I will use Wicket for prototyping and small
apps and keep my eye on T5. T4 is no-go for me - I am
too lazy

--- Chris Chiappone <[EMAIL PROTECTED]> wrote:

> A colleague of mine and I had a discussion about
> this because he was
> sorting through new frameworks to use for a new
> project.  I have been
> using Tapestry since v3 and wanted him to give it a
> try.  Unfotunately
> he ended up picking Wicket because of the fear that
> Tapestry has
> issues with backward compatibility.  I am now
> wondering if I made the
> right choice in choosing tapestry for my
> applications.   He built his
> application quickly and it is impressive using
> Wickets built in AJAX
> components.  Upgrading in Tapestry has been a pain
> going from 3 - 4
> and obviously 5 isn't even possible.  I wish I could
> have choose tap 5
> for my latest project but it was too beta and
> doesn't play well with
> other frameworks, ie a large legacy app with a
> Struts like framework.
> 
> Anyway its a hard decision, they both have plus' and
> minus'
> 
> ~chris
> 
> On 8/22/07, John <[EMAIL PROTECTED]> wrote:
> > Hi Alex,
> >
> >
> >
> > I would say Tapestry 5 wins the challenge unless
> you plane to use T4.
> >
> > Tapestry 5 uses annotations, and this is a very
> important advanced feature
> > in Java. You don't need to extend WOComponent,
> WebPage or what ever.
> >
> >
> >
> > I think all frameworks will use the annotations in
> the future; the question
> > is when is available.
> >
> > T5 does and it's ready.
> >
> >
> >
> > In other words, the real question you should ask
> "Do I want to use
> > annotations or classical framework?"
> >
> >
> >
> > Try T5 a little, and you will fast mention the
> power of annotations.
> >
> >
> >
> >
> >
> > Signature IT-Consult Armainak Sarkis
> >
> >
> >
> > - Original Message -
> > From: "Alex Shneyderman" <[EMAIL PROTECTED]>
> > To: ;
> <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 22, 2007 10:13 AM
> > Subject: wicket vs tapestry ?
> >
> >
> > >I just started to look for a component based
> framework. I came across
> > > both tapestry and wicket (and it would be hard
> not to as you guys
> > > share the same host) but I kind of fail to see
> what the differences
> > > are?
> > >
> > > From my limited experiments with both, wicket
> and tapestry seem to be
> > > quite similar. So, I wonder if there is anything
> I am not seeing?
> > > Anyone has a comparisson map of wicket vs
> tapestry?
> > >
> > > Alex.
> > >
> > > PS: I like both frameworks for their lightness I
> just feel that I will
> > > need to stick with one to be pragmatic :-(
> > >
> > >
>
-----
> > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> ~chris
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5:Maven or not?

2007-08-22 Thread Konstantin Ignatyev
Maybe, but the quick fix was to stop using maven :) -
as usual.
Maybe I am not compatible with Maven ;)

--- Robin Helgelin <[EMAIL PROTECTED]> wrote:

> On 8/22/07, Konstantin Ignatyev
> <[EMAIL PROTECTED]> wrote:
> > Sometimes it will pick-up changes in the html
> > templates and page classes and sometimes not.
> >
> > When I started using jetty directly it would
> always
> > detect changes so T5 dynamic class loading worked
> as
> > it supposed to work.
> 
> Ok? Maybe it's your Ide that gives you trouble?
> 
> -- 
> regards,
> Robin
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5:Maven or not?

2007-08-22 Thread Konstantin Ignatyev
Sometimes it will pick-up changes in the html
templates and page classes and sometimes not.

When I started using jetty directly it would always
detect changes so T5 dynamic class loading worked as
it supposed to work.


--- Robin Helgelin <[EMAIL PROTECTED]> wrote:

> On 8/22/07, Konstantin Ignatyev
> <[EMAIL PROTECTED]> wrote:
> > Not in my experience - Maven caused T5 to behave
> > strangely when used with jetty:run
> 
> Define "stangely"? I never had any problems with
> jetty:run.
> 
> -- 
> regards,
> Robin
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5:Maven or not?

2007-08-22 Thread Konstantin Ignatyev
Not in my experience - Maven caused T5 to behave
strangely when used with jetty:run 

The moment I stopped using Maven and just run jetty
directly and point it to target directory, everything
became nice and smooth.

I like Maven's idea but it just does not work reliably
for me. 

--- Robin Helgelin <[EMAIL PROTECTED]> wrote:

> On 8/22/07, Daniel Jue <[EMAIL PROTECTED]> wrote:
> > No, it is not required.  It sure felt like it was
> required back when
> > everyone was using Tapestry snapshots--but that
> was only to keep up
> > with all the changes.  However, the directory
> structure that the
> > Tapestry Achetypes setup are pretty helpful.
> 
> And you'll get a lot of help when needing more
> dependencies for your
> project, or deploying or your project or ... :-)
> 
> -- 
> regards,
> Robin
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tapestry 4 or 5?

2007-08-20 Thread Konstantin Ignatyev
I hope T5 will add Ajax support ASAP!

Lack of Ajax support in T5 turned me to Wicket - and
from programming perspective Wicket's approach to ajax
( adding target components to the ajax targets in the
action) seems to be very intuitive and convenient.

Do not like polluted session in Wicket though...



--- Peter Stavrinides <[EMAIL PROTECTED]>
wrote:

> In my humble opinion go for 5, its stable enough for
> most projects now. 
> Tapestry 5 addresses many shortcomings of 4, it
> feels more natural to 
> develop with whereas Tapestry 4 may feel
> unconventional at first, so 
> possibly a bit more difficult to learn than 5. The
> only benefit I can 
> think of going for 4 is if you need to use the
> asynchronous stuff, then 
> again this will probably be added in 5 shortly.
> 
> Peter
> 
> Angelo Chen wrote:
> > Hi,
> >
> > I'm new to Tapestry, I'm learning now Tapestry 4
> for a coming project. I'd
> > like to know if Tapestry 5 is ready? which route
> should I take, Tapestry 4
> > or 5 to develop the new project?  Thanks.
> >
> > A.C.
> >   
> 
> 
>
-----
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Trouble getting Tapestry up and running

2007-05-18 Thread Konstantin Ignatyev
http://tapestry.apache.org/tapestry4.1/dependency-convergence.html

http://tapestry.apache.org/tapestry5/tapestry-hibernate/dependencies.html

--- jbeall <[EMAIL PROTECTED]> wrote:

> 
> 
> Konstantin Ignatyev wrote:
> > 
> > Yes, it is irritating not to have all the
> necessary
> > jars.
> > I think there always should be a starter.war that
> > should been a complete web application setup to
> drop
> > into a servlet container and start playing.
> > 
> > Bottom line: you need other jars: ognl, cglib ,
> etc. 
> 
> Where can I get the other jars I need?  Is there a
> prerequistes list I
> missed, I suppose?
> 
> I don't recall seeing anything about needing other
> jars in Kent Tong's book;
> I thought it was a complete tutorial.
> -- 
> View this message in context:
>
http://www.nabble.com/Trouble-getting-Tapestry-up-and-running-tf3779361.html#a10688412
> Sent from the Tapestry - User mailing list archive
> at Nabble.com.
> 
> 
>
-----
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Trouble getting Tapestry up and running

2007-05-18 Thread Konstantin Ignatyev
gt;
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
>   at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
>   at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>   at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>   at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>   at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>   at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>   at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>   at
>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>   at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>   at
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>   at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>   at java.lang.Thread.run(Unknown Source)
> May 18, 2007 2:05:15 PM
> org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Allocate exception for servlet HelloWorld
> java.lang.NoClassDefFoundError:
> org/apache/hivemind/service/impl/HiveMindClassPool
>   at
>
org.apache.hivemind.service.impl.ClassFactoryImpl.(ClassFactoryImpl.java:34)
>   at
>
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>   at
>
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
>   at
>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source)
>   at
> java.lang.reflect.Constructor.newInstance(Unknown
> Source)
>   at java.lang.Class.newInstance0(Unknown Source)
>   at java.lang.Class.newInstance(Unknown Source)
>   at
>
org.apache.hivemind.util.InstanceCreationUtils.createInstance(InstanceCreationUtils.java:54)
>   at
>
org.apache.hivemind.impl.CreateClassServiceConstructor.constructCoreServiceImplementation(CreateClassServiceConstructor.java:35)
>   at
>
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl.java:108)
>   at
>
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:158)
>   at
>
org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:140)
>   at
>
org.apache.hivemind.impl.servicemodel.PrimitiveServiceModel.getService(PrimitiveServiceModel.java:41)
>   at
>
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:210)
>   at
>
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:223)
>   at
>
org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:207)
>   at
>
org.apache.hivemind.impl.ModuleImpl.getService(ModuleImpl.java:105)
>   at
>
org.apache.hivemind.impl.ProxyBuilder.(ProxyBuilder.java:73)
>   at
>
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxyClass(SingletonServiceModel.java:145)
>   at
>
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy(SingletonServiceModel.java:102)
>   at
>
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(SingletonServiceModel.java:57)
>   at
>
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:210)
>   at
>
org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:223)
>   at
>
org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:207)
>   at
>
org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:434)
>   at
>
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:154)
>   at
>
org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet.java:253)
>   at
>
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194)
>   at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
>   at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
>   at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
>   at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>   at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>

Re: JavaFX

2007-05-09 Thread Konstantin Ignatyev
Yeah, JavaFX looks really weird and purposeless.



--- Bill Holloway <[EMAIL PROTECTED]> wrote:

> I've looked at sample code for JavaFX and it reminds
> me *greatly* of
> all the IDE-generated stuff when I do Swing
> applications in Eclipse or
> netbeans.  God help us generating UI's by hand with
> this stuff!
> 
> bill
> 
> On 5/8/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> > Yes..quite.
> >
> > There's a related article.
> http://beust.com/weblog/archives/000446.html
> >
> > On 5/8/07, Bill Holloway <[EMAIL PROTECTED]>
> wrote:
> > >
> > > See the article,
> > >
>
http://www.internetnews.com/dev-news/article.php/3676226.
>  Slashdotted
> > > too.  Interesting stuff.
> > >
> > > Bill
> > >
> > > --
> > > "The future is here.  It's just not evenly
> distributed yet."
> > >
> > >  -- Traditional
> > >
> > >
>
-
> > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Jesse Kuhnert
> > Tapestry/Dojo team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind.
> http://blog.opencomponentry.com
> >
> 
> 
> -- 
> "The future is here.  It's just not evenly
> distributed yet."
> 
>  -- Traditional
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Templating with Tapestry 5

2007-04-27 Thread Konstantin Ignatyev
You got it right.

--- bjornharvold <[EMAIL PROTECTED]> wrote:

> 
> But that's Tapestry 4, no? Oh I think I get it. In
> tapestry 5 you have the
>  Basically, you wrap your components in
> layouts.
> 
> 
> 
> Konstantin Ignatyev wrote:
> > 
> > Just look closely at the Workbench example that
> comes
> > with Tapestry:
> > 
> > Border component has 
> > Page content goes
> > here.
> > 
> > And individual pages look like this;
> > 
> ><-- this is the first page
> > line
> > ..
> > Meaningful page content
> > ..
> > 
> > 
> > --- bjornharvold <[EMAIL PROTECTED]> wrote:
> > 
> >> 
> >> Konstantin,
> >> 
> >> Can you give me an example?
> >> 
> >> thx
> >> bjorn
> >> 
> >> 
> >> Konstantin Ignatyev wrote:
> >> > 
> >> > Had the same problem when I started with T
> after
> >> > spending too much time with Struts.
> >> > 
> >> > In T Layout is usually done upside down
> compared
> >> to
> >> > struts: layout is handled by Border component
> that
> >> is
> >> > wrapper to the page content.
> >> > 
> >> > Feels weird initially but works well.
> >> > 
> >> > --- bjornharvold <[EMAIL PROTECTED]> wrote:
> >> > 
> >> >> 
> >> >> Ok, I've been barking up a tree the whole
> day...
> >> and
> >> >> I'm not even sure it's
> >> >> the wrong one.
> >> >> 
> >> >> I want to be able to do real component
> templating
> >> >> like struts has it's
> >> >> tiles. So my page (CoolPage) would look
> something
> >> >> like this:
> >> >> 
> >> >> 
> >> >> .. a one liner
> >> >> 
> >> >> My CoolPage.java would have some string
> >> properties
> >> >> referring to components
> >> >> that it would inject into layout. It also
> extends
> >> an
> >> >> abstract class which
> >> >> has the default template associated with it
> >> >> (Layout):
> >> >> 
> >> >> class CoolPage extends AbstractPage {
> >> >> @Component(parameters{"navbar=coolnavbar",
> >> >> "header=coolheader"})
> >> >> private Layout _layout;
> >> >> 
> >> >> private String _coolnavbar =
> >> "navbarComponentName"
> >> >> private String _coolheader =
> >> "headerComponentName"
> >> >> 
> >> >> etc...
> >> >> }
> >> >> 
> >> >> The component names might be delegated down
> >> several
> >> >> levels of components to
> >> >> whatever component needs that specific
> >> information.
> >> >> 
> >> >> Then Layout.html would look something like:
> >> >> 
> >> >> 
> >> >> Layout.java looks like this:
> >> >> class Layout {
> >> >> private String _navbar;
> >> >> 
> >> >> accessors here
> >> >> }
> >> >> 
> >> >> The problem occurs because Layout.html does
> NOT
> >> grab
> >> >> the injected string
> >> >> names put resolves the component to be of type
> >> >> navbar which does not exist. 
> >> >> 
> >> >> I am doing this because the look-and-feel of
> the
> >> >> application carries 3
> >> >> layers of components. The layers have just
> been
> >> >> created to wrap the
> >> >> components in Yahoo UI divs mostly. I don't
> want
> >> to
> >> >> have to redo the default
> >> >> layout on every tapestry page if something
> >> >> changes.That's why i am trying to
> >> >> keep all that in one layout and inject
> components
> >> >> into the layout. The
> >> >> layout class doesn't know what component goes
> >> where,
> >> >> it should just hold a
> >> >> basket of injected components and the template
> >> >> should know where to put the
> >> >> components.
> >> >> 
> >> >> Any ideas?..

Re: Templating with Tapestry 5

2007-04-27 Thread Konstantin Ignatyev
Just look closely at the Workbench example that comes
with Tapestry:

Border component has 
Page content goes
here.

And individual pages look like this;

   <-- this is the first page
line
..
Meaningful page content
..


--- bjornharvold <[EMAIL PROTECTED]> wrote:

> 
> Konstantin,
> 
> Can you give me an example?
> 
> thx
> bjorn
> 
> 
> Konstantin Ignatyev wrote:
> > 
> > Had the same problem when I started with T after
> > spending too much time with Struts.
> > 
> > In T Layout is usually done upside down compared
> to
> > struts: layout is handled by Border component that
> is
> > wrapper to the page content.
> > 
> > Feels weird initially but works well.
> > 
> > --- bjornharvold <[EMAIL PROTECTED]> wrote:
> > 
> >> 
> >> Ok, I've been barking up a tree the whole day...
> and
> >> I'm not even sure it's
> >> the wrong one.
> >> 
> >> I want to be able to do real component templating
> >> like struts has it's
> >> tiles. So my page (CoolPage) would look something
> >> like this:
> >> 
> >> 
> >> .. a one liner
> >> 
> >> My CoolPage.java would have some string
> properties
> >> referring to components
> >> that it would inject into layout. It also extends
> an
> >> abstract class which
> >> has the default template associated with it
> >> (Layout):
> >> 
> >> class CoolPage extends AbstractPage {
> >> @Component(parameters{"navbar=coolnavbar",
> >> "header=coolheader"})
> >> private Layout _layout;
> >> 
> >> private String _coolnavbar =
> "navbarComponentName"
> >> private String _coolheader =
> "headerComponentName"
> >> 
> >> etc...
> >> }
> >> 
> >> The component names might be delegated down
> several
> >> levels of components to
> >> whatever component needs that specific
> information.
> >> 
> >> Then Layout.html would look something like:
> >> 
> >> 
> >> Layout.java looks like this:
> >> class Layout {
> >> private String _navbar;
> >> 
> >> accessors here
> >> }
> >> 
> >> The problem occurs because Layout.html does NOT
> grab
> >> the injected string
> >> names put resolves the component to be of type
> >> navbar which does not exist. 
> >> 
> >> I am doing this because the look-and-feel of the
> >> application carries 3
> >> layers of components. The layers have just been
> >> created to wrap the
> >> components in Yahoo UI divs mostly. I don't want
> to
> >> have to redo the default
> >> layout on every tapestry page if something
> >> changes.That's why i am trying to
> >> keep all that in one layout and inject components
> >> into the layout. The
> >> layout class doesn't know what component goes
> where,
> >> it should just hold a
> >> basket of injected components and the template
> >> should know where to put the
> >> components.
> >> 
> >> Any ideas?... or is there a better way?
> >> -- 
> >> View this message in context:
> >>
> >
>
http://www.nabble.com/Templating-with-Tapestry-5-tf3659025.html#a10223765
> >> Sent from the Tapestry - User mailing list
> archive
> >> at Nabble.com.
> >> 
> >> 
> >>
> >
>
-
> >> To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> >> [EMAIL PROTECTED]
> >> 
> >> 
> > 
> > 
> > Konstantin Ignatyev
> > 
> > 
> > 
> > 
> > PS: If this is a typical day on planet earth,
> humans will add fifteen
> > million tons of carbon to the atmosphere, destroy
> 115 square miles of
> > tropical rainforest, create seventy-two miles of
> desert, eliminate between
> > forty to one hundred species, erode seventy-one
> million tons of topsoil,
> > add 2,700 tons of CFCs to the stratosphere, and
> increase their population
> > by 263,000
> > 
> > Bowers, C.A.  The Culture of Denial:  Why the
> Environmental Movement Needs
> > a Strategy for Reforming Universities and Public
> Schools.  New York: 
> > State University of New York Press, 1997: (4) (5)
> (p.206)
> > 
> >
>

Re: Templating with Tapestry 5

2007-04-27 Thread Konstantin Ignatyev
Had the same problem when I started with T after
spending too much time with Struts.

In T Layout is usually done upside down compared to
struts: layout is handled by Border component that is
wrapper to the page content.

Feels weird initially but works well.

--- bjornharvold <[EMAIL PROTECTED]> wrote:

> 
> Ok, I've been barking up a tree the whole day... and
> I'm not even sure it's
> the wrong one.
> 
> I want to be able to do real component templating
> like struts has it's
> tiles. So my page (CoolPage) would look something
> like this:
> 
> 
> .. a one liner
> 
> My CoolPage.java would have some string properties
> referring to components
> that it would inject into layout. It also extends an
> abstract class which
> has the default template associated with it
> (Layout):
> 
> class CoolPage extends AbstractPage {
> @Component(parameters{"navbar=coolnavbar",
> "header=coolheader"})
> private Layout _layout;
> 
> private String _coolnavbar = "navbarComponentName"
> private String _coolheader = "headerComponentName"
> 
> etc...
> }
> 
> The component names might be delegated down several
> levels of components to
> whatever component needs that specific information.
> 
> Then Layout.html would look something like:
> 
> 
> Layout.java looks like this:
> class Layout {
> private String _navbar;
> 
> accessors here
> }
> 
> The problem occurs because Layout.html does NOT grab
> the injected string
> names put resolves the component to be of type
> navbar which does not exist. 
> 
> I am doing this because the look-and-feel of the
> application carries 3
> layers of components. The layers have just been
> created to wrap the
> components in Yahoo UI divs mostly. I don't want to
> have to redo the default
> layout on every tapestry page if something
> changes.That's why i am trying to
> keep all that in one layout and inject components
> into the layout. The
> layout class doesn't know what component goes where,
> it should just hold a
> basket of injected components and the template
> should know where to put the
> components.
> 
> Any ideas?... or is there a better way?
> -- 
> View this message in context:
>
http://www.nabble.com/Templating-with-Tapestry-5-tf3659025.html#a10223765
> Sent from the Tapestry - User mailing list archive
> at Nabble.com.
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I thought this was a newsgroup about Tapestry ;-)

2007-03-27 Thread Konstantin Ignatyev

--- Borut Bolčina <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> Konstantin Ignatyev wrote:
> > http://www.bileblog.org/?p=59
> This pretty insulting blog was posted on July 17th,
> 2005.
> 

Insulting, but pretty damn valid IMO to this day
(Mar-27-2007).

> I share my oppinion with
>
http://www.theserverside.com/news/thread.tss?thread_id=44285#227686
> 

I see build tools as part of compiler and I think
nobody will be satisfied with a compiler working fine
80% of the time.

Why such tolerance of build tools misbehavior is the
mystery for me.




Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I thought this was a newsgroup about Tapestry ;-)

2007-03-27 Thread Konstantin Ignatyev
Maven is very much like Windows and Project Wizards -
does work fine till we need something slightly
different than "they" think we would need. 

For example I think that:
Much praised transitive dependencies in Maven 2 is
simply abomination because it makes build dependent 
on repository content. I mean that that exactly the
same pom can create different deliverables with
different content, or one build will be successful and
another will not. This is happening because of version
ranges for dependencies and lack of explicit control
over them paired with simple to use update tool. 

http://www.bileblog.org/?p=59


--- Renat Zubairov <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I would disagree. Maven (especially version 2) is a
> very nice
> framework that really simplify project structure and
> development
> practices. It has some issues in the dynamic
> projects like tapestry5
> but in general it works very well (which is
> reflected by the number of
> projects build by maven).
> 
> I'm quite happy that Tapestry is build using maven2.
> 
> Renat
> 
> On 27/03/07, Konstantin Ignatyev
> <[EMAIL PROTECTED]> wrote:
> > Good catch.
> >
> > Maven has good idea behind but not too good
> > implementation :) I think that inventor of Jelly
> > simply can not produce anything useable :(
> >
> > I wish Howard used good-old Ant + Ivy for
> dependency
> > management and publishing: just a bit more work
> > initially but them it all just works...
> >
> > --- Jan Vissers <[EMAIL PROTECTED]> wrote:
> >
> > > Is it me, or is the amount of maven related
> posts
> > > steadily growing
> > >
> > > I hope T5 will not be dependent on Maven, or
> will
> > > it?
> > >
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > Konstantin Ignatyev
> >
> >
> >
> >
> > PS: If this is a typical day on planet earth,
> humans will add fifteen million tons of carbon to
> the atmosphere, destroy 115 square miles of tropical
> rainforest, create seventy-two miles of desert,
> eliminate between forty to one hundred species,
> erode seventy-one million tons of topsoil, add 2,700
> tons of CFCs to the stratosphere, and increase their
> population by 263,000
> >
> > Bowers, C.A.  The Culture of Denial:  Why the
> Environmental Movement Needs a Strategy for
> Reforming Universities and Public Schools.  New
> York:  State University of New York Press, 1997: (4)
> (5) (p.206)
> >
> >
>
-----
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> Best regards,
> Renat Zubairov
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I thought this was a newsgroup about Tapestry ;-)

2007-03-27 Thread Konstantin Ignatyev
Good catch. 

Maven has good idea behind but not too good
implementation :) I think that inventor of Jelly
simply can not produce anything useable :(
 
I wish Howard used good-old Ant + Ivy for dependency
management and publishing: just a bit more work
initially but them it all just works...

--- Jan Vissers <[EMAIL PROTECTED]> wrote:

> Is it me, or is the amount of maven related posts
> steadily growing
> 
> I hope T5 will not be dependent on Maven, or will
> it?
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re: Eclipse is very Slow - What do i have to do be more fast the developing?

2007-03-13 Thread Konstantin Ignatyev
Need to have 2GB at least these days :(


--- Bruno Mignoni <[EMAIL PROTECTED]> wrote:

> I Have 1 GB RAM :-)
> 
> On 3/13/07, Adli <[EMAIL PROTECTED]> wrote:
> >
> > Why don't you invest on more RAM, hehe
> > I noticed Eclipse work better with more RAM.
> > Sometimes Eclipse bloated with stuffs we
> unnecessarily install.
> >
> >
> > On 3/12/07, Kristian Marinkovic
> <[EMAIL PROTECTED]> wrote:
> > >
> > > hls wrote a good tutorial in his T5 tutorial:
> > >
> > >
> http://tapestry.apache.org/tapestry5/t5-tutorial.pdf
> > >
> > > jetty setup is not different for T4
> > >
> > > g,
> > > kris
> > >
> > >
> > >
> > >
> > > "Bruno Mignoni" <[EMAIL PROTECTED]>
> > > 12.03.2007 14:25
> > > Bitte antworten an
> > > "Tapestry users" 
> > >
> > >
> > > An
> > > "Tapestry users" 
> > > Kopie
> > >
> > > Thema
> > > Re: Eclipse is very Slow - What do i have to do
> be more fast the
> > > developing?
> > >
> > >
> > >
> > >
> > >
> > >
> > > Do you Have a Tutorial to install and configure?
> > >
> > > I use Windows XP +  Eclipse + WTP + Tomcat 5.5 +
> Tapestry 4.0.2.
> > >
> > > Jetty and Tomcat works at the same time in my
> project in Eclipse?
> > >
> > > Jetty 5 or Jetty 6 ?
> > >
> > > ;-)
> > >
> > > Bruno Mignoni
> > >
> > > On 3/12/07, Kristian Marinkovic
> <[EMAIL PROTECTED]>
> > wrote:
> > > >
> > > > use the jetty plugin; its a small servlet
> container that starts VERY
> > > > quickly!
> > > > my startup times dropped from 15sec to 2sec!!
> > > >
> > > >
> > > >
> > > >
> > > > "Bruno Mignoni" <[EMAIL PROTECTED]>
> > > > 12.03.2007 13:55
> > > > Bitte antworten an
> > > > "Tapestry users" 
> > > >
> > > >
> > > > An
> > > > "Tapestry users" 
> > > > Kopie
> > > >
> > > > Thema
> > > > Eclipse is very Slow - What do i have to do be
> more fast the
> > developing?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > I am developing with Eclipse + WTP + TomCat
> 5.5 + Tapestry 4.0.2 .
> > > >
> > > >
> > > > That was confired using Wiki (link:
> > > >
> > > >
> > >
> > >
> >
>
http://wiki.apache.org/tapestry/HowToSetupEclipseWtp?highlight=%28Eclipse%29
> > >
> > > >
> > > > )
> > > >
> > > > I have Pentium 4 3.40 Ghz + 1 GB Ram and is
> running correctly.
> > > >
> > > > The developing is very slow, each modification
> that I do, i need to
> > > > restart
> > > > Tomcat ( 30 s ) to work.
> > > >
> > > > What do i have to do be more fast the
> developing?
> > > >
> > > > --
> > > > __
> > > > Bruno Mignoni
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > __
> > > Bruno Mignoni
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> 
> 
> 
> -- 
> __
> Bruno Mignoni
> [EMAIL PROTECTED]
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: My crap development environment

2007-02-15 Thread Konstantin Ignatyev
Confusion avoidance (my approach):

Eclipse - simply do not use. IntelliJ works more
reliably and predictably, it works as "expected" and
has controls where expected.

Jetty vs Tomcat vs ... - Tomcat, removing everything
from webapps/ and all the admin application context
configurations from conf/Catalina/localhost makes it
as fast as Jetty for all practical purposes.

Plugins, deployments etc. - one extra command line
window that has rinning command "catalina.(sh|bat)
run" takes care of everything. 


--- Murray Collingwood <[EMAIL PROTECTED]>
wrote:

> Hi all
> 
> Does anybody else find this hellishly confusing?  It
> makes me want to throw
> everything out and go back to a nice simple DOS
> system and a Turbo C compiler! 
> How much simpler it was back then...
> 
> Okay, I downloaded the latest Eclipse system, copied
> my project into a fresh
> workspace.  Saving a file was back to a sub-second
> response.  Actually I tried
> saving a second file to make sure it wasn't a fluke
> the first time.  There was
> definitely a problem somewhere and it has now gone
> away.
> 
> Okay, now the second part of the problem.
> 
> Tomcat or Jetty???
> 
> I don't want to package every time I make a small
> change to a config file or
> HTML, so I want the servlet engine to use my files
> from my development area.  My
> previous frustrations with restarting tomcat have
> encouraged me down the Jetty
> track - I downloaded Jetty 6 yesterday and the test
> system was working in about
> 5 minutes, pretty good.  I then added a context.xml
> for my application and now
> when I start Jetty it simple crashes and refuses to
> start the application.  I
> get an error like:  'No class for Servlet or Filter'
> 
> I haven't been able to find any help on this error.
> 
> I did find information on a Jetty-Maven-Plugin but
> form my reading this is all
> about packaging the application - I don't want to go
> there.  I also found a
> number of recent comments about Maven2 saying it was
> still quite buggy.
> 
> Do I press ahead trying to solve the Jetty stuff or
> do I revert back to a Tomcat
> system???
> 
> I'm developing in a Windows XP environment so this
> may limit me from some of the
> options suggested here.
> 
> PS Thanks to everybody who has contributed so far -
> I really appreciate your
> ideas and suggestions.  You really are a very
> friendly bunch of people.
> 
> PPS My computer is an Intel 2.8ghz processor with
> 1gb ram and 80gb harddrive. 
> It's not slow with other stuff.
> 
> Cheers
> Murray
> 
> Some of my understandings:
> Sysdeo-tomcat-plugin - packages app and restarts
> Tomcat
> WTP - packages app and restarts Tomcat
> Web Standard Tools - I was using this
> AJDT - never used it
> Jetty6 plugin - is this the Jetty-maven-plugin
> referred above of different?
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: My crap development environment

2007-02-14 Thread Konstantin Ignatyev
I recently suffered under Windows from unacceptable
long file operations (any of them) - it turned out to
be related to the mapped but inaccessible network
drive.
Win is extremely stupid and ALWAYS tries to reach that
drive no matter if it required for file operation or
not. 
So - try to unmap all the network drives and see it
that will help :)

--- Murray Collingwood <[EMAIL PROTECTED]>
wrote:

> Hi all
> 
> I have suffered long and hard under Eclipse and
> Tomcat.  Is it really necessary
> for me to wait so long while a file is saved or an
> application is published???
> 
> Saving a .java file: 15 seconds
> Saving a .html file: 15 seconds
> Saving a .jwc file: 28 seconds
> 
> Stopping the tomcat server: 2 seconds (acceptable)
> Publishing to the tomcat server: 45 seconds
> Starting the tomcat server: 54 seconds (it insists
> on publishing first)
> 
> Does everybody else experience these delays or is it
> just me?
> 
> It was suggested that I use maven2 - however I
> looked through the maven2
> flash presentation and it didn't mention anything
> about making my development
> work in Eclipse faster - it was more focused on
> pulling dependencies and 
> easing the build process.  And if I were to install
> maven2 would it change any
> of the above anyway???
> 
> Cheers
> mc
> 
> 
>
-----
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OpenLazlo and Tapestry

2007-01-31 Thread Konstantin Ignatyev
I have attended Flex presentation by Christophe
Coenraets
(http://coenraets.org/blog/2007/01/flex-data-management-services-tutorial/)
 and was quite impressed (even I hate Flash ads).

I am convinced that rich flash applications are the
next big thing (web 3.0).

I wish it was JVM and Java Web Start, but because of
non modularity of JRE and inconvenience of installing
I believe that FVM (Flash VM) will be the king on
clients...


--- Jan Vissers <[EMAIL PROTECTED]> wrote:

> When I'm think about Flex, movies is the last thing
> on my mind lately. I'm
> intrigued by the potential of Flex apps and/or Flex
> hybrid apps. I don't
> think Tapestry will be particularly well equipped to
> create complete Flex
> apps (but do correct me if I'm wrong). It would be
> really nice though if
> we could easily create hybrid applications using
> Flex components tied to
> our 'regular' HTML/CSS/JavaScript components using
> Flex's Ajax Bridge
> technology.
> 
> 
> > Anything is possible, of course. The idea of
> creating Flash (i.e.,
> > Flex or Laszlo) movies on the fly is intriguing. 
> At one extreme, you
> > could get Tapestry to directly create and spool
> out the bytestream of
> > the movie, on another you could use Tapestry to
> generate the XML
> > descriptor from which the bytestream is generated.
> There's lots of
> > options.
> >
> > It's just a matter of developer bandwidth ...
> something sorely missing
> > from my life right now. Viva T5!
> >
> > On 1/31/07, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> >> Have you heard of OpenLaszlo yet?
> >>
> >>
>
http://www.openlaszlo.org/demos#Laszlo%20Components%20in%20OL4
> >>
> >> is this "compatible" with Tapestry (maybe
> Tapestry 5?) or a theoretical
> >> possible to also integrate such technologies into
> Tapestry?
> >>
> >> Maybe pages and components could be rendered into
> their Flash
> >> counterparts
> >> without the Tapestry programmer having to worry
> about the details?
> >>
> >>
>
-
> >> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > Howard M. Lewis Ship
> > TWD Consulting, Inc.
> > Independent J2EE / Open-Source Java Consultant
> > Creator and PMC Chair, Apache Tapestry
> > Creator, Apache HiveMind
> >
> > Professional Tapestry training, mentoring, support
> > and project work.  http://howardlewisship.com
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tapestry in a J2EE Architecture

2007-01-23 Thread Konstantin Ignatyev
Yes, book would be better than AppFuse. AppFuse might
have improved since I looked at that about a year ago,
but at that time it was way too confusing for people
not quite familiar with all the frameworks and tricks.

--- Hugo Palma <[EMAIL PROTECTED]> wrote:

> You should definitely get Kent's book on 
> Tapestry(http://www.agileskills2.org/EWDT/).
> 
> Cyrille37 wrote:
> > Hello,
> > I have spent some time to learn Tapestry, and it
> will be my WebFront 
> > framework. In this time I've learned a little
> about J2EE too.
> >
> > Now I've to create the architecture of my project.
> It must be a 
> > multi-tier architecture, with Apache & Tomcat, a
> J2EE AS (JBoss or 
> > Glassfish), and finally Mysql5 for the Data part.
> > Tapestry will be the WebFront framework, so it
> will run on Tomcat, 
> > with probably the help of Spring2 framework for
> some stuff.
> >
> > I would like to have your opinion, comment, help
> and links about how 
> > to make Tapestry works with applications hosted on
> the J2EE AS ... For 
> > da moment I'm really floating in the unknown.
> >
> > Thanks a lot
> > Cyrille.
> >
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JSR-168/268 support and Tapestry 5.0

2006-12-29 Thread Konstantin Ignatyev
does it make sense at all to support portals? Does
people still use and develop portals?

I mean that with the AJAX proliferation it looks like 
"Clientlets" make much more sense than Portlets and
therefore Portals in a sense of JSR-168 are headed to
oblivion.

What is the peoples' experience and opinion?

--- Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

> That should be "action" requests and "render"
> requests.
> 
> The fact that servlet Tapestry 5 differentiates
> between the two will make it
> easier, or at least make it more consistent, for
> portlet Tapestry 5.
> 
> On 12/29/06, Jan Vissers <[EMAIL PROTECTED]>
> wrote:
> >
>


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Automated Testing Tool

2006-12-12 Thread Konstantin Ignatyev
Selenium and its wrapper STIQ.

--- Miguel Angel Hernández <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> Are there any tools that allow to build automated
> tests for tapestry apps?
> Do they suport Tacos and Dojo?
> 
> cheers,
> 
> miguel
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Perfomance Testing Tapestry App

2006-11-27 Thread Konstantin Ignatyev
As usual I recommend The Grinder
http://grinder.sourceforge.net/index.html
 

--- Detlef Schulze <[EMAIL PROTECTED]> wrote:

> Some tool that I like much more than Jmeter
> (although I have to admit
> that it is quite some time ago I last checked it) is
> Microsofts Web
> Application Stress Test tool.
> 
> You can freely download and use it:
>
http://www.microsoft.com/downloads/details.aspx?FamilyID=E2C0585A-062A-4
> 39E-A67D-75A89AA36495&displaylang=en
> 
> 
> Although it is from Microsoft, it is a really nice
> tool.
> 
> Cheers,
> Detlef
> 
>  
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 
> Sent: Montag, 27. November 2006 15:05
> To: users@tapestry.apache.org
> Subject: RE: Perfomance Testing Tapestry App
> 
> I second that advice.  After 30-45 minutes of
> following their online
> demo, you can have JMeter up and running and
> simulating dozens of users
> with form input, logins, etc.
> 
> http://jakarta.apache.org/jmeter/
>
http://jakarta.apache.org/jmeter/usermanual/index.html
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 23, 2006 9:17 AM
> To: users@tapestry.apache.org
> Subject: RE: Perfomance Testing Tapestry App
> 
> I would highly recommend Jakarta JMeter. You can use
> it as a proxy to
> record some user actions, and then play back as many
> users as you want
> to simulate, and much more.
> 
> -Greg
> 
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of
> Dennis Sinelnikov
> Sent: Wednesday, November 22, 2006 10:48 PM
> To: users@tapestry.apache.org
> Subject: Perfomance Testing Tapestry App
> 
> 
> Hey guys,
> 
> I have some performance requirements and would like
> to gather input from
> 
> the tapestry community on what is the right
> approach.  For example, how
> do I properly simulate X number of users?  I have
> some UIs that require
> user input.  I guess I can tailor http requests.
> 
> Any guidance/links/tips/past experiences are greatly
> appreciated.
> 
> Thanks,
> Dennis
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Developing rich GUI apps The Tapestry way

2006-11-21 Thread Konstantin Ignatyev
If you like declarative UI then I suggest you to look
at http://www.swixml.org/ 


--- "pepone.onrez" <[EMAIL PROTECTED]> wrote:

> Hi Ján
> 
> maybe JGoodies is interesting for you take a look to
> http://www.jgoodies.com/
> 
> I don't try it yet but  use same applications
> developed with it, I
> preefer Qt-4 for reach Ui applications rather than
> Java
> .
> On 11/20/06, Šoltís Ján <[EMAIL PROTECTED]>
> wrote:
> > Hello,
> >
> > I've developed a couple of Tapestry apps and now
> we have to develop an application with a rich gui in
> Java (SWING or SWT).
> >
> > I particularly like 'The Tapestry way' of
> developing the UI as opposed to the Struts, JSP or
> JSF way. What I like the most is the notion of
> high-level application components that are easy to
> create, easy to use by other programmers and that
> encapsulate both visual appearance and some
> high-level functionality unique to that particular
> application.
> >
> > Our application will consist of hundreds of
> screens all of them very similar (kind of CRUD but
> not exactly). Had it been in web, Tapestry would be
> a great choice. We could create some high level
> components and our screens' sources would by very
> simple, clear and concise.
> >
> > And the question is: what do you, Tapestry
> addicts, use for development of rich gui Java apps?
> Plain SWING? SWT? Some framework?
> >
> > XUL (XSWT) is quite close to my expectations, but
> it's missing "application-level custom components".
> What's your opinion?
> >
> > thanks
> > jan soltis
> >
> >
>
-----
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> play tetris http://pepone.on-rez.com/tetris
> run gentoo http://gentoo-notes.blogspot.com/
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Encoding of properties files

2006-10-27 Thread Konstantin Ignatyev
property files need to be encoded to ascii with
native2ascii
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/native2ascii.html


--- Malin Ljungh <[EMAIL PROTECTED]> wrote:

> Home_sv.properties has the special characters.
> 
> And I use Tomcat.
> 
> 
> On 10/27/06, andyhot <[EMAIL PROTECTED]> wrote:
> >
> > Assuming you're working on Home.html,
> > which file contains your swedish characters?
> >
> >
> > Malin Ljungh wrote:
> > > Guys, I really need your help tonight.
> > > I've been struggeling for days and I can't solve
> this.
> > >
> > > This is the thing:
> > > I have swedish characters in my properties files
> (localized app). I
> > > can not
> > > get these to be displayed correctly :[
> > >
> > > If I put the special characters directly in the
> html it works fine. If
> > > I put
> > > the special characters in my java source and
> display it with a @Insert
> > it
> > > works fine. -But not if they are in the
> properties file.
> > >
> > > Any suggestions?
> > > Please please please... I'll be your slave ;)
> > >
> >
> >
> > --
> > Andreas Andreou - [EMAIL PROTECTED] -
> http://andyhot.di.uoa.gr
> > Tapestry / Tacos developer
> > Open Source / J2EE Consulting
> >
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TACOS DEMO getServletContext().getRealPath("/") returns NULL ?

2006-10-27 Thread Konstantin Ignatyev
Place all the resources into classpath and it shall
work.
It means that log4j.properties should be in
WEB-INF/classes and it will be picked up
autoamagically.

If yu need something then
this.getClass().getClassloader().getResource*


--- Ken nashua <[EMAIL PROTECTED]> wrote:

> Hi Folks,
> 
> I thought it proper to integrate
> ConfigurationServlet to my webapp just like 
> the tacosdemo does.. just to initialize log4j
> 
> web.xml below...
> 
> --->HERE IS THE OUTPUT FROM TOMCAT CONSOLE:
> java.io.FileNotFoundException:
> null\WEB-INF\log4j.properties (The system 
> cannot
> find the path specified)
> at java.io.FileInputStream.open(Native
> Method)
> at
>
java.io.FileInputStream.(FileInputStream.java:106)
> at
>
java.io.FileInputStream.(FileInputStream.java:66)
> 
> --->HERE IS THE CODE:
> public class ConfigurationServlet extends
> ApplicationServlet implements 
> ServletContextListener {
> 
> /** Comment for serialVersionUID */
> private static final long serialVersionUID =
> 3257005471045858873L;
> /* Logger */
> private static final Logger LOG = 
> Logger.getLogger(ConfigurationServlet.class);
> 
> /**
>  * @see javax.servlet.GenericServlet#init()
>  */
> public void init() {
> try {
> // Use basic logging configuration until
> Log4j is properly 
> configured
> 
>
PropertyConfigurator.configure(getServletContext().getRealPath("/")
> + "/WEB-INF/log4j.properties");
> super.init();
> } catch (Throwable t) {
> t.printStackTrace();
> LOG.fatal("Error configuring CIMS", t);
> }
> }
> 
> /**
>  * @see javax.servlet.Servlet#destroy()
>  */
> public void destroy()
> {
> super.destroy();
> org.apache.log4j.LogManager.shutdown();
> }
> 
> /**
>  * @see 
>
javax.servlet.ServletContextListener#contextDestroyed(javax.servlet.ServletContextEvent)
>  */
> public void contextDestroyed(ServletContextEvent
> arg0)
> {
> org.apache.log4j.LogManager.shutdown();
> }
> 
> /**
>  * [EMAIL PROTECTED]
>  */
> public void
> contextInitialized(ServletContextEvent arg0)
> {
> }
> }
> 
> --->HERE IS WEB.XML
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
> 
> tap.proto-1.0
> 
> 
> redirect
>
>
org.apache.tapestry.RedirectFilter
> 
> 
> redirect
> /
> 
> 
> 
> tap.proto-1.0
>
>
proto.servlet.ConfigurationServlet
> 1
> 
> 
> 
> 
> tap.proto-1.0
> /app
> 
> 
> 
> 
> tap.proto-1.0
> *.html
> 
> 
> tap.proto-1.0
> *.direct
> 
> 
> tap.proto-1.0
> *.sdirect
> 
> 
> tap.proto-1.0
> /assets/*
> 
> 
> tap.proto-1.0
> *.svc
> 
> 
> tap.proto-1.0
> *.ajax
> 
> 
> 
> 
> 10 
> 
> 
> 
> MySQLDataSource
> javax.sql.DataSource
> Container
> 
> 
>
> OracleDataSource
> javax.sql.DataSource
> Container
> 
> 
> 
> 
>
_
> Try Search Survival Kits: Fix up your home and
> better handle your cash with 
> Live Search! 
>
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven, Eclipse and Jetty setup problems.

2006-10-10 Thread Konstantin Ignatyev
Maven2 integration in Ivy is not ideal, we are
supposed to have own Ivy repo ;) or use WOJ

but you can simply use something like this, and do not
mess with URL resolvers:

  http://people.apache.org/repo/m2-snapshot-repository/incubator-activemq/activeio-core/3.0-SNAPSHOT/activeio-core-3.0-20060324.230126-1.jar"/>
 


--- Leo Sakhvoruk <[EMAIL PROTECTED]> wrote:

> Hi Konstantin,
> 
> I'm trying to get Ivy working as per your suggestion
> but I'm having 
> trouble pulling dependencies via a url resolver (as
> that seems to be the 
> only option from what I could gather) for the
> 4.1.1-SNAPSHOT. Since I'm 
> trying to retrieve libraries from 
>
http://people.apache.org/repo/m2-snapshot-repository/
> I've tried doing 
> something like this:
> 
> 
> 
> 
> 
> 
>  m2compatible="true">
>...
> 
> 
> 
>  
>   
>
> 
> 
> That repository contains maven configuration files
> and so I'm getting 
> errors as Ivy can't read the maven-metadata.xml. Is
> there a better way 
> of doing this or am I missing something?
> 
> Thanks,
> 
> Leo
> 
> Konstantin Ignatyev wrote:
> > Just curious, why do you like the pain? What kind
> of
> > rewards do you expects after going through the
> Maven
> > pain?
> >   
> > I mean Ant+IVY painlessly take care of dependency
> > management (better than maven dep manager) and
> build
> > related activities. 
> > Jetty is just Java process so debugger can be
> attached
> > to that...
> >
> >
> >
> > --- Leo Sakhvoruk <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> Wow,
> >>
> >> What a serious pain in the butt! I've been trying
> to
> >> set up Eclipse to 
> >> use Maven and Jetty for my project and it has
> turned
> >> out a horrendous 
> >> affair and a time sink. I am yet to see Jetty run
> >> once and be able to 
> >> debug my project. Right now I'm getting the
> >> following error:
> >>
> >> [ERROR] BUILD ERROR
> >> [INFO] 
> >>
> >> 
> >
>

> >   
> >> [INFO] The plugin
> >> 'org.apache.maven.plugins:maven-jetty6-plugin'
> does 
> >> not exist or no valid version could be found
> >>
> >> This is insane from what I can see since I don't
> >> even have 
> >> maven-jetty6-plugin declared in my pom file!!!
> I'm
> >> trying to use 
> >> maven-jetty-plugin 6.1-SNAPSHOT.
> >>
> >> Does anyone have a clue why it's trying to use
> >> maven-jetty6-plugin?
> >>
> >> Please help.
> >>
> >>
> >> 
> >
>
-
> >   
> >> To unsubscribe, e-mail:
> >> [EMAIL PROTECTED]
> >> For additional commands, e-mail:
> >> [EMAIL PROTECTED]
> >>
> >>
> >> 
> >
> >
> > Konstantin Ignatyev
> >
> >
> >
> >
> > PS: If this is a typical day on planet earth,
> humans will add fifteen million tons of carbon to
> the atmosphere, destroy 115 square miles of tropical
> rainforest, create seventy-two miles of desert,
> eliminate between forty to one hundred species,
> erode seventy-one million tons of topsoil, add 2,700
> tons of CFCs to the stratosphere, and increase their
> population by 263,000
> >
> > Bowers, C.A.  The Culture of Denial:  Why the
> Environmental Movement Needs a Strategy for
> Reforming Universities and Public Schools.  New
> York:  State University of New York Press, 1997: (4)
> (5) (p.206)
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >   
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Thoughts about performance monitoring in Tapestry

2006-10-09 Thread Konstantin Ignatyev


--- Mark Stang <[EMAIL PROTECTED]> wrote:

> 
> The time spent in each page is at the bottom of each
> page.  Each page logs how long it took to render
> itself.  
> 
> For one page:
> 
> 
> And for another:
> 
> 
> 
> However, that is a total time,

>

Please look up old discussions regarding those numbers
on gname, in short: the numbers have nothing to do
whatsoever with real rendering time.
See for example Howard's post
http://article.gmane.org/gmane.comp.java.tapestry.user/15280/match=render+time



Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Thoughts about performance monitoring in Tapestry

2006-10-09 Thread Konstantin Ignatyev
bmitting and component
> render cycles...
> > >
> > > * Is there a way to, through configuration,
> improve Tapestry's reading
> > > of these kind of statistics? I'm thinking maybe
> friendly URLs, but
> > > there might be other answers...
> > >
> > > * How to really determine how much time Tapestry
> is taking in doing
> > > its job? For example, he tool is displaying a
> cumulative time of 4.61
> > > seconds for /app_name/app, but an "exclusive
> time" (meaning the time
> > > that the method spends by itself, without the
> accessories) of 0.025
> > > seconds. Now that sounds great, but does it seem
> logical? I mean,
> > > maybe some other components should be taken into
> account.
> > >
> > > * Anyone knows if Spring's methods to invoke and
> instantiate EJBs are
> > > slow? The tool says that it can take as much as
> 2 seconds to do so!!
> > > Maybe another place where traditional monitoring
> lacks?
> > >
> > > Regards,
> > >
> > > Dario
> > >
> > > --
> > > Some weasel took the cork out of my lunch.
> > >   -- W.C. Fields
> > >
> > >
>
-
> > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >
> >
> >
> > James Carman, President
> > Carman Consulting, Inc.
> >
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
> >
> 
> 
> -- 
> Some weasel took the cork out of my lunch.
>   -- W.C. Fields
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven, Eclipse and Jetty setup problems.

2006-10-09 Thread Konstantin Ignatyev
Just curious, why do you like the pain? What kind of
rewards do you expects after going through the Maven
pain?
  
I mean Ant+IVY painlessly take care of dependency
management (better than maven dep manager) and build
related activities. 
Jetty is just Java process so debugger can be attached
to that...



--- Leo Sakhvoruk <[EMAIL PROTECTED]> wrote:

> Wow,
> 
> What a serious pain in the butt! I've been trying to
> set up Eclipse to 
> use Maven and Jetty for my project and it has turned
> out a horrendous 
> affair and a time sink. I am yet to see Jetty run
> once and be able to 
> debug my project. Right now I'm getting the
> following error:
> 
> [ERROR] BUILD ERROR
> [INFO] 
>

> [INFO] The plugin
> 'org.apache.maven.plugins:maven-jetty6-plugin' does 
> not exist or no valid version could be found
> 
> This is insane from what I can see since I don't
> even have 
> maven-jetty6-plugin declared in my pom file!!! I'm
> trying to use 
> maven-jetty-plugin 6.1-SNAPSHOT.
> 
> Does anyone have a clue why it's trying to use
> maven-jetty6-plugin?
> 
> Please help.
> 
>
-----
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jasper Reports Help

2006-09-19 Thread Konstantin Ignatyev
Depends on your scripting language for the report but
in general you simply need to specify expression for
the field as
($F{boolean_field} == true)? 1:2

--- Peter Dawn <[EMAIL PROTECTED]> wrote:

> guys,
> 
> i am implementing jasper reports within my tapestry
> web app. and i am
> sorry i should probably post this to jasper forums,
> but i am really in
> urgent need for help here.
> 
> i have a field which is returning a boolean value
> true or false. i
> want to replace a true with a 1 and a false with a 2
> within my report.
> how can i do this.
> 
> can somebody pls help me out here. thanks and sorry
> for posting here.
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Tapestry + IDEA

2006-09-18 Thread Konstantin Ignatyev
I work in IDEA all the time and I simply have a
terminal window always running for a server and
relaunch server (if necessary) from there. 

Personally I never understood necessity to have any
kind of launchers within IDE, perhaps because I always
 build script centric in development and that is that
must work reliably and conveniently.  

--- Kevin Menard <[EMAIL PROTECTED]> wrote:

> Sorry for the OT question, but I figured this was
> about as good as any 
> place to ask.
> 
> For a while now, I've been looking to move to IDEA
> for my Tapestry 
> work.  Unfortunately, I've been unable to find
> something that will work 
> as well as JettyLauncher with Eclipse.  Using the
> Tomcat deployer in 
> IDEA, I can't get template changes to appear in the
> Web app unless I 
> build again.  Likewise, I can't seem to easily
> change the port number to 
> bind the servlet container to.
> 
> I'm guessing there's something I'm missing here,
> because it's really 
> quite painful to develop this way.  Any help from
> other IDEA users would 
> be much appreciated.
> 
> Thanks,
> Kevin
> 
>
---------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TapIDEA future, post "Time to move on"

2006-08-29 Thread Konstantin Ignatyev
Agreed, but that could be done as build time 'check'
step. Something like JSP compiler task
http://ant.apache.org/manual/OptionalTasks/jspc.html  
 
I think it could be easier to create than full IDE
plugin and such core service might be a very good
foundation for people willing to build IDE specific UI
layer atop of it. 

--- D&J Gredler <[EMAIL PROTECTED]> wrote:

> I mostly agree with you that current tooling gets us
> pretty far, but there's
> a lot to be said for turning the most frequent
> "runtime" errors into
> "compile-time" errors, something that often requires
> special Tapestry
> awareness.
> 
> On 8/29/06, Konstantin Ignatyev
> <[EMAIL PROTECTED]> wrote:
> 
> >
> > My point is that in case of Tapestry/Wicket there
> is
> > no need to worry much about tools, because
> existing
> > ones provide pretty good environment to work
> within.
> > Therefore focus on APIs and conventions seems very
> > reasonable to me.
> >
> >
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: TapIDEA future, post "Time to move on"

2006-08-29 Thread Konstantin Ignatyev
Huh? What are you talking about?

--- Mark Stang <[EMAIL PROTECTED]> wrote:

> Hey, if you are that good, switch to a plain vanilla
> version of vi and let's see how "good" you are...
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TapIDEA future, post "Time to move on"

2006-08-29 Thread Konstantin Ignatyev
The keyword here 'think'.  

That is very common, but what we actually seek is not
ZZZ-IDE or plugin, but features like:
- code navigation;
- code completion;
- syntax checks and coloring;

That is about it. Tool like IntelliJ pretty much takes
care of all those things without any Tapestry specific
plugins. DW takes care of HTML.

As for expertize level: there are certain developers
which are not able to produce anything good no matter
which tools they have in hands and reasonable IDEs
like VisualStudio which do not help much because
platform API are so insane and far from 'literate'
programming style http://www.literateprogramming.com/ 

RoR hype indicate that people are willing to
compromise on tools in favor of sane defaults and
APIs. 

My point is that in case of Tapestry/Wicket there is
no need to worry much about tools, because existing
ones provide pretty good environment to work within.
Therefore focus on APIs and conventions seems very
reasonable to me. 



--- Francis Amanfo <[EMAIL PROTECTED]> wrote:

>  However
> I know a lot of junior to middle level  developers
> who think they would be
> more productive with a Tap IDE. 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TapIDEA future, post "Time to move on"

2006-08-29 Thread Konstantin Ignatyev
It is all matter of opinion but I would say that IDE
like IntelliJ + DreamWeaver out of box provide enought
features to be productive with Tapestry.

Certain Tapestry specific features would be nice to
have but they are not critical IMO. 



--- Francis Amanfo <[EMAIL PROTECTED]> wrote:

> Guys,
> 
> Allow me to quote from Howard's blog at
>
http://www.blogger.com/comment.g?blogID=4110180&postID=115379415681750974
> The quote goes:
> "As a reminder: Rails, the biggest success story I
> can name, has no tooling
> at all. Tooling is no replacement for productivity."
> 
.
> 
> IDEs' I will assure you that Howard won't take into
> consideration during
> work on another major release. 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to setup 4.1 MAVEN2 snapshot

2006-08-17 Thread Konstantin Ignatyev
http://docs.codehaus.org/pages/viewpage.action?pageId=25888

Example: aaa-1.0.jar specifies dependency like on zzz
as [1.0,2.0) that makes build unstable  and
nonrepeatable because it now depends on content of a
repository. 


--- Mark Reynolds <[EMAIL PROTECTED]>
wrote:

> Can you give explain what you mean by "there are
> ranges in the version
> specifications" and perhaps give an example?
> 
> On 8/16/06, Konstantin Ignatyev wrote:
> > Rant:
> >
> > Unfortunately Maven archichitecture and practices
> are
> > not allow repeatable builds because there are
> ranges
> > in the version specifications. And that makes
> build to
> > depend on current repository content and makes it
> > unrepeatable.
> >
> > IMO it would be much nicer if Ant + Ivy was used
> as
> > build system.
> >
> > --- Pedro Viegas wrote:
> >
> > > Can anybody give the proper steps to get this
> > > running?
> > >
> > > Thanks,
> > >
> > > On 8/16/06, Pedro Viegas wrote:
> > > >
> > > > http://mojo.codehaus.org/
> > > >
> > > > OK, I think this is it, what do I have to do?
> > > There's a bunch of plugins
> > > > out there.
> > > > This looks like a trail of breadcrumbs... :-S
> > > >
> > > >
> > > > On 8/16/06, Pedro Viegas wrote:
> > > > >
> > > > > OK, I think I get it, I use the most recent
> pom
> > > I find here right.
> > > > > OK, tried the:
> > > > >
> > > > >
> tapestry-project-4.1.1-20060815.022306-17.pom
> > > > >
> > > > > and issued a "mvn package -e"
> > > > >
> > > > > The error was...
> > > > >
> > > > > "+ Error stacktraces are turned on.
> > > > > [INFO] Scanning for projects...
> > > > > [INFO]
> > > > >
> > >
> >
>

> > > > > [INFO] Building Maven Default Project
> > > > > [INFO]task-segment: [package]
> > > > > [INFO]
> > > > >
> > >
> >
>

> > > > >
> > > > > [INFO]
> > > > >
> > >
> >
>

> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > >
> > >
> >
>

> > > > > [INFO] Cannot execute mojo: resources. It
> > > requires a project with an
> > > > > existing pom.xml, but the build is not using
> > > one.
> > > > > [INFO]
> > > > >
> > >
> >
>

> > > > > [INFO] Trace
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.LifecycleExecutionException:
> > > Cannot execute
> > > > > mojo: resources. It requires a project with
> an
> > > existing pom.xml, but the
> > > > > build is not using one.
> > > > > at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > DefaultLifecycleExecutor.java:559)
> > > > > at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
> > > > > DefaultLifecycleExecutor.java:475)
> > > > > at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > > DefaultLifecycleExecutor.java:454)
> > > > > at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
> > > > > DefaultLifecycleExecutor.java:306)
> > > > > at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > > > > DefaultLifecycleExecutor.java:273)
> > > > > at
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > (
> > > > > DefaultLifecycleExecutor.java:140)
> > > >

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Konstantin Ignatyev
Rant:

Unfortunately Maven archichitecture and practices are
not allow repeatable builds because there are ranges
in the version specifications. And that makes build to
depend on current repository content and makes it
unrepeatable.

IMO it would be much nicer if Ant + Ivy was used as
build system.

--- Pedro Viegas <[EMAIL PROTECTED]> wrote:

> Can anybody give the proper steps to get this
> running?
> 
> Thanks,
> 
> On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >
> > http://mojo.codehaus.org/
> >
> > OK, I think this is it, what do I have to do?
> There's a bunch of plugins
> > out there.
> > This looks like a trail of breadcrumbs... :-S
> >
> >
> > On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]>
> wrote:
> > >
> > > OK, I think I get it, I use the most recent pom
> I find here right.
> > > OK, tried the:
> > >
> > > tapestry-project-4.1.1-20060815.022306-17.pom
> > >
> > > and issued a "mvn package -e"
> > >
> > > The error was...
> > >
> > > "+ Error stacktraces are turned on.
> > > [INFO] Scanning for projects...
> > > [INFO]
> > >
>

> > > [INFO] Building Maven Default Project
> > > [INFO]task-segment: [package]
> > > [INFO]
> > >
>

> > >
> > > [INFO]
> > >
>

> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
>

> > > [INFO] Cannot execute mojo: resources. It
> requires a project with an
> > > existing pom.xml, but the build is not using
> one.
> > > [INFO]
> > >
>

> > > [INFO] Trace
> > >
>
org.apache.maven.lifecycle.LifecycleExecutionException:
> Cannot execute
> > > mojo: resources. It requires a project with an
> existing pom.xml, but the
> > > build is not using one.
> > > at
> > >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java:559)
> > > at
> > >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
> > > DefaultLifecycleExecutor.java:475)
> > > at
> > >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java:454)
> > > at
> > >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
> > > DefaultLifecycleExecutor.java:306)
> > > at
> > >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > > DefaultLifecycleExecutor.java:273)
> > > at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (
> > > DefaultLifecycleExecutor.java:140)
> > > at
>
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > > :322)
> > > at
>
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > at org.apache.maven.cli.MavenCli.main
> (MavenCli.java:256)
> > > at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > at
> sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:39)
> > > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > DelegatingMethodAccessorImpl.java:25)
> > > at
> java.lang.reflect.Method.invoke(Method.java:585)
> > > at
> org.codehaus.classworlds.Launcher.launchEnhanced(
> > > Launcher.java:315)
> > > at
> org.codehaus.classworlds.Launcher.launch
> (Launcher.java:255)
> > > at
> org.codehaus.classworlds.Launcher.mainWithExitCode(
> > > Launcher.java:430)
> > > at
>
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > Caused by:
> org.apache.maven.plugin.MojoExecutionException :
> Cannot
> > > execute mojo: resources. It requires a project
> with an existing pom.xml,
> > > but the build is not using one.
> > > at
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> > > DefaultPluginManager.java:339)
> > > at
> > >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java:534)
> > > ... 16 more
> > > [INFO]
> > >
>

> > > [INFO] Total time: 1 second
> > > [INFO] Finished at: Wed Aug 16 23:02:27 BST 2006
> > > [INFO] Final Memory: 2M/4M
> > > [INFO]
> > >
>
"
> > >
> > > mojo:resources? A Missing lib?
> > >
> > >
> > >
> > > On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED] >
> wrote:
> > > >
> > > > No, you don't ~have~ to use maven. (And
> certainly don't need to
> > > > compile
> > > > tapestry even if you do).
> > > >
> > > >
>
http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/
> > > >
> > > >
> > > > On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]>
> wrote:
> > > > >
> > > > > Sorry Jesse, i'm re

Re: Open Source CRM

2006-08-09 Thread Konstantin Ignatyev
Friend of mine did something and hosts demo on my
site:
http://kgionline.com/crmt/app

It is not complete but he has pretty darn good ideas
about CRM systems (he buit few) and seeks somebody to
teem up and finish the beast. 

--- Ernst Thielmann <[EMAIL PROTECTED]> wrote:

> I'm searching for an open source CRM. Is there an
> open source CRM 
> written in Tapestry 4?
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: RoR

2006-08-03 Thread Konstantin Ignatyev
He is not the first person having problem with
unsubscribe functionality. 
It is better be fixed. 

--- Mark Stang <[EMAIL PROTECTED]> wrote:

> 
> I think we should all reply to him.
> 
> -Original Message-
> From: Wim V [mailto:[EMAIL PROTECTED]
> Sent: Thu 8/3/2006 11:43 AM
> To: users@tapestry.apache.org
> Subject: Re: RoR
>  
> The problem is plain and simple:
> This mailing list keeps pumping messages into my
> inbox while I want it to 
> stop. I already tried to unsubscribe multiple times
> but it doesn't seem to 
> be working.
> 
> I'll keep posting the same email once a week or so
> till I get either removed 
> or banned, so dont bother replying.
> 
> thx in advance
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven 2, jetty 6, snapshots, the example applications

2006-07-24 Thread Konstantin Ignatyev
This is the flaw in Maven I am constantly ranting
about: dependency of build on server content.

That is because of ranges in versions and snapshot
dependencies for system stuff (plugins). Maven’s
dependencies resolver should be really thrown away and
replaced by something decent like IVY. It is not
perfect, but way better than dependencies resolver in
Maven.  

So the thing you have IMO is how the dependencies have
to be specified: as hardcoded versions.

There however should be a command to update those
versions (semi)-automatically. Pretty much the same
way everything else works: use the specified versions
till user explicitly and selectively demands
‘update’. 



--- Josh Long <[EMAIL PROTECTED]> wrote:

> Im not sure if anyone else has experienced the same
> thing, but...
> 
> On my windows laptop (at home) yesterday around 6 pm
> i was testing
> code and workng just fine on a tapestry 4.1 app. i
> ran mvn on it and
> everything was fine. then i got home after a roudy
> night at 1 am and
> found that mvn jetty6:run didnt work (to my chagrin)
> and this was, i
> suspect because some scandalous change was
> introduced, and the error i
> got was something about a WebApp getclasspathurl...
> 
> 
> anyway,
> 
> I then took a look at the timetracker app in svn
> this morning. i ran
> mvn install on all of the examples, and
> particularly, i cd'ed into
> TimeTracker and ran mvn jetty6:run and ran into the
> same issue becaue
> the jetty6 plugin was specified as snapshot (as it
> had been in my
> project last night). ...
> 
> Long story short: if you run into this problem,
> modify the pom to use
> 
>   org.mortbay.jetty
>
> maven-jetty6-plugin
> 6.0.0beta17
> 
> instead of the snapshot. its a workaround, not a
> solution, but i
> thought id spare someone the 10 mins of stuper...
> 
> Josh
> 
>
---------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: PermGen space - Caching is ON

2006-07-24 Thread Konstantin Ignatyev
Just an idea: could it be that some aspectizing 
container (Spring or HiveMind)has a not quite
correctly written service that is not a singleton, but
a (bad) factory. That factory might create new
aspectized class every time and then instantiate
object instead of creating a weaved class once and
then creating objects from it. That would clog PermGen
space.

Do you run anything non-standard or suspicious?

--- Henri Dupre <[EMAIL PROTECTED]> wrote:

> Yes I've seen the same issue on linux and windows
> with all JDKs using Tomcat
> or JBoss.
> I'd be curious to know if other containers such as
> Jetty, Weblogic or
> Websphere have better solutions...
> I'm not sure what do you refer as "hot redeploy"...
> We are using the tomcat
> ant tasks to redeploy into tomcat.
> 
> Henri.
> 
> 


Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tapestry & AspectJ

2006-07-21 Thread Konstantin Ignatyev
In case there is a need to apply aspects to all the
classes in the application and its libraries, lets say
add tracing aspect, then AspectJ can be applied at
build time and statically weave all the necessary
things into classes, which will then be just regular
classes and I think the can be additionally weaved by
whatever.

--- James Carman <[EMAIL PROTECTED]> wrote:

> The point is that you can use HiveMind to get Aspect
> injection.  What are
> you looking to achieve?  The aspects will be weaved
> into whatever classes
> you want.  But, you can have your aspects depend on
> stuff that HiveMind can
> find for you (like services and configurations) and
> then have those things
> injected automatically.
> 
> -Original Message-
> From: Adam Zimowski [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 21, 2006 11:15 AM
> To: Tapestry users
> Subject: Re: Tapestry & AspectJ
> 
> Oh, so Hivemind must know about my objects. What
> about objects
> outside of Hivemind scope, those instantiated thru
> the code?
> 
> On 7/21/06, James Carman
> <[EMAIL PROTECTED]> wrote:
> > I wrote a HiveMind module that allows you to
> inject HiveMind
> > services/configurations into AspectJ aspects.  It
> works similar to the way
> > Spring does it.
> >
> > -Original Message-
> > From: Adam Zimowski [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 21, 2006 10:30 AM
> > To: users@tapestry.apache.org
> > Subject: Tapestry & AspectJ
> >
> > Can anybody reflect on their experience with
> combining a large Tap (4)
> > application with AspectJ? I am most interested in
> advising Tapestry
> > pages but also any other object that I may not
> have configured
> > explicitly in Hivemind.
> >
> > * By using AspectJ was cross cutting truly easier
> on your application
> > and team of developers?
> > * Was it easy and practical when dealing with
> multiple environments
> > (system, readiness, production)? I mean, if you
> wanted to deploy
> > un-adviced codebase to production, and
> performance-logging advice to
> > readiness, and method-tracing plus
> performance-logging advice to
> > system environment?
> > * If you did use AspectJ, did you abandon Hivemind
> around advice
> > model? Are you using both? * Are you using Spring
> AOP as well? Any
> > other AOP framework? If so, what drives your
> motivation to use (or not
> > use) AspectJ ?
> >
> > I am very encouraged by Eclipse IDE support for
> AspectJ, and it's
> > undesputed power and flexibility it brings to AOP.
> I've never worked
> > with it however, and am a bit resistant to
> integrate it without some
> > feedback from Tapestry people who may have gone
> thru some good and
> > bads with it.
> >
> > Thank You
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: handling file downloads

2006-07-18 Thread Konstantin Ignatyev
I did that by passing ognl expression (as string) that specifies the dataset as 
parameter to the service, so the service simply evaluates the OGNL expression 
and uses its result as source.
 
Konstantin Ignatyev 
 

 
PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000
 
Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

- Original Message 
From: Julian Wood <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Tuesday, July 18, 2006 2:47:08 PM
Subject: Re: handling file downloads

I finally got back to this. I wrote up a service to send the csv  
files (using http://lombok.demon.co.uk/serviceHowTo/app - thanks  
Shing for the example - well done), which all works fine, but I have  
one question (which could easily be addressed by using the  
"unsanctioned" approach mentioned in the FAQ - thanks Nick).

Imagine you've done a bunch of work in home.html/home.java to create  
a set of data. Now you're ready to save it as a csv file. You click  
on the link which invokes the csv service, but it's unrealistic to  
pass all the parameters needed to re-create the data set to the  
service, or to even pass the data set itself (via a parameter).  
Home.java, of course, knows all about this set of data (as does the  
session). So how can the service be told to get the data set from  
Home.java (or from the session)? One way around it seems to be to use  
a regular @DirectLink, which would create the file and then redirect  
to the csv service, which would then stream the file (instead of  
assembling it on the fly). It would be nicer though if it can be done  
without writing intermediate files.

Any hints?

Thanks,

J

On 10-Jul-06, at 4:49 PM, Julian Wood wrote:

>
> I would like to click a link, have a listener assemble a CSV file,  
> and send it back as a download (ie change a few headers behind the  
> scenes like Content-Type and Content-Disposition).

--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: help content implementation

2006-07-18 Thread Konstantin Ignatyev
Overlib doing Ajax calls does the trick and it does not matter what king of 
technology produces the pages
http://www.bosrup.com/web/overlib/


Peter Dawn <[EMAIL PROTECTED]> wrote: has anybody tried to implement a help 
system using tapestry. within my
web app i want to implement a help manual and i am debating on whats
the best way of implementing this.

just a pop-up ie window would do fine or even something in dhtml. has
anybody thought of implementing something like this.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

Re: xml parse error if the jakarta site is not accessible

2006-06-27 Thread Konstantin Ignatyev
It seems to be better to register custom EntityResolver
http://www-128.ibm.com/developerworks/library/x-tipent.html
http://cocoon.apache.org/2.1/userdocs/concepts/catalog.html
http://xml.apache.org/commons/components/resolver/

Norbert S�ndor <[EMAIL PROTECTED]> wrote: Not a bad idea, thanks! :)

Let's suppose that the component is used on many customer sites, and my 
company site is not available. I'm in the same situation.
What I want is to completely disable XML validation in producion 
environment to avoid such errors.

Regards,
Norbi

Andreas Bulling wrote:
> On 27. Jun 2006 - 19:40:01, Norbert S�ndor wrote:
> | Hello!
> | 
> | Sometimes the jakarta site is not accessible, in such cases I get the 
> | following exception:
> | 
> | Unable to parse file:/blablabla.script: Connection timed out: connect
> | java.net.ConnectException
> | Connection timed out: connect
> | http://jakarta.apache.org/tapestry/dtd/Script_3_0.dtd
>
> IMO it should be possible to copy the DTD from the jakarta server
> to your local one and change the xml files appropriately.
> Please correct me if I'm wrong... ;)
>
> Regards,
>   Andreas
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

Re: How would I know?

2006-05-23 Thread Konstantin Ignatyev
How about something like 
 @InjectObject("service:tapestry.globals.HttpServletResponse")
  public abstract HttpServletResponse getHttpResponse();


and then send redirect where you need to

albartell <[EMAIL PROTECTED]> wrote: I am lost in Tapestry documentation today 
(which is becoming a common
occurrence as of late).  
 
First let me describe what I was trying to do. I needed to redirect the user
to a static page outside of my application context after they fill out a
form.  I thought it would be easy enough because I know how to use
@InjectPage to go to another Tapestry page, but I just couldn't find how to
do it from looking at the Tapestry documentation.  I finally decided to use
IRequestCycle.sendRedirect() because I remembered seeing that somewhere in
the past.  So I went in search of how to use IRequestCycle.  Sure I can find
it in the JavaDocs, but where in the heck does one find that you can specify
IRequestCycle as a parm on a java method?
 
for example I found this in the mail archives:
 
public void validate(IRequestCycle cycle) {
...
cycle.sendRedirect("http://mysite.com/somepage.html";);
}
 
I assume it should be in the user guide, but where?  It would rock to have a
"how do I" section on the Tapestry page just showing how to do simple things
that all web developers need and allow the user to dig further into the
framework from that vantage point vs. giving them every single entry point
of API documentation at a top layer.
 
Aaron Bartell
 



Re: Simple tag enclosing

2006-05-23 Thread Konstantin Ignatyev


  
 


M�rio Lopes <[EMAIL PROTECTED]> wrote: Hi, how can I do the following:

 );">
  
 

Thanks

-- M�rio

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Google Web Toolkit

2006-05-23 Thread Konstantin Ignatyev
I do not miss Flash even a bit and do not want to spend any time on configuring 
that. If site requires flash then they do not have my business. 
I mention this problem only to show situation where Flash is not that easy to 
install.

Alex Kartashev <[EMAIL PROTECTED]> wrote: Yeah... I think you can install 
32-bit version of flash and it would 
work Or you may need to install a 32-bit version of Firefox. I 
remember I had this problem on Fedora Core 4 on AMD64 kernel. Yes... you 
need the Firefox version from 32-bit distro.

-Serge

Konstantin Ignatyev wrote:

>Agreed. Easines of getting JVM is the key. Win comes without Flash but it is 
>easy and relatively fast to install it. 
>
>The problem should be solved: JVM should be easy to install, easier than Flash 
>(whish does not work at all on my 64bit Gentoo- not that I miss it).  
>
>
>
>Sergei Dubov  wrote: Interesting... How can an applet be a viable alternative 
>if it needs a 
>JVM to run, and Windoz comes without it. I think this problem needs to 
>be solved first if applets/JWS are to come back into fashion.
>
>-Serge
>
>Konstantin Ignatyev wrote:
>
>  
>
>>Paul Cantrell  wrote: Horrible, horrible, GridBagLayout I loathe it. What 
>>an awful  
>>mess. CSS is so many thousands of times nicer for doing layout
>>
>>Couple of wrapper functions to constraints make it very easy to use, not to 
>>mention  that it is very easy to arrange components in UI editor like 
>>NetBeans.
>>
>>And if you do not like it, then there is plenty of layout managers for Swing 
>>http://wiki.java.net/bin/view/Javadesktop/3thParty
>>
>>I am sympathetic to the "applets not Javascript" argument, though.  
>>"Applets with CSS layout" would be especially nice.
>>
>>But applets don't integrate well with the flow of the web: like Flash- 
>>based sites, you can't bookmark them, search engines can't index  
>>them, etc.
>>
>>I was talking at conceptual level, by no means I consider current state of 
>>Applets to be ideal. But  the problems you have mentioned are very common for 
>>all kinds of stateful techniques: Tapestry, heavy Ajax applilications, Echo2, 
>>and I guess GWT. Even if continuation is used it is still hard to do, for 
>>example fhat good will it do if we will be able to bookmark a purchasing  
>>transaction in the middle? 
>>
>>On Flash - the technology does not make sense at all: it is crippled and 
>>simplified JVM that runs one Flash VM per  Flash that quickly brings any comp 
>>on the knees when number of flashes grows beyond 10. Not to mention inability 
>>to share and reuse fllash libraries on client. And if they will try to 
>>implement all that in the Flash VM then it will be as heavy as Java. If Java 
>>RT was modular then Applets would be able to do everything that Flash does 
>>but more efficiently.
>>
>>There are limits to what they're good for. If there were a  
>>good way to attach Java to a page's DOM, then we'd be cooking.
>>
>>I do not think so. We  will be still dependent on browser's abilities, and 
>>IMO emerging trends indicate that people want to break free from limitations 
>>of HTML and browser while being able to make use of it.
>>I wonder how limited GWT is in this respect? Tapestry works very hard  
>>to respect the client's control of their browser.
>>
>>P
>>
>>
>>On May 21, 2006, at 12:47 PM, Konstantin Ignatyev wrote:
>>
>> 
>>
>>
>>
>>>http://www.swixml.org/
>>>http://www.java2s.com/Product/Swing/LookAndFeel.htm
>>>
>>>And Swing can support any kind of layout managers but I have found  
>>>GridBagLayout to be very flexible and good for nearly everything I  
>>>do with Swing.
>>>
>>>Therefore I think it does not make sense to try (re)creating Swing  
>>>in browsers. Applets is what we really need :).
>>>
>>>
>>>Norbert S�ndor  wrote:The good thing in  
>>>GWT is to use the efficient development style of Swing
>>>(I mean Java only, easy to debug/test) but allow to use the underlying
>>>browser's HTML+CSS capatibilites for layout.
>>>
>>>
>>>
>>>Konstantin Ignatyev
>>>
>>>
>>>
>>>
>>>PS: If this is a typical day on planet earth, humans will add  
>>>fifteen million tons of carbon to the atmosphere, destroy 115  
>>>square miles of tropical rainforest, create seventy-two miles of  
>>>desert, eliminate between forty to one hundred species, erode  
>>&g

Re: Google Web Toolkit

2006-05-23 Thread Konstantin Ignatyev
Agreed. Easines of getting JVM is the key. Win comes without Flash but it is 
easy and relatively fast to install it. 

The problem should be solved: JVM should be easy to install, easier than Flash 
(whish does not work at all on my 64bit Gentoo- not that I miss it).  



Sergei Dubov <[EMAIL PROTECTED]> wrote: Interesting... How can an applet be a 
viable alternative if it needs a 
JVM to run, and Windoz comes without it. I think this problem needs to 
be solved first if applets/JWS are to come back into fashion.

-Serge

Konstantin Ignatyev wrote:

>Paul Cantrell  wrote: Horrible, horrible, GridBagLayout I loathe it. What 
>an awful  
>mess. CSS is so many thousands of times nicer for doing layout
>
>Couple of wrapper functions to constraints make it very easy to use, not to 
>mention  that it is very easy to arrange components in UI editor like NetBeans.
>
>And if you do not like it, then there is plenty of layout managers for Swing 
>http://wiki.java.net/bin/view/Javadesktop/3thParty
>
>I am sympathetic to the "applets not Javascript" argument, though.  
>"Applets with CSS layout" would be especially nice.
>
>But applets don't integrate well with the flow of the web: like Flash- 
>based sites, you can't bookmark them, search engines can't index  
>them, etc.
>
>I was talking at conceptual level, by no means I consider current state of 
>Applets to be ideal. But  the problems you have mentioned are very common for 
>all kinds of stateful techniques: Tapestry, heavy Ajax applilications, Echo2, 
>and I guess GWT. Even if continuation is used it is still hard to do, for 
>example fhat good will it do if we will be able to bookmark a purchasing  
>transaction in the middle? 
>
>On Flash - the technology does not make sense at all: it is crippled and 
>simplified JVM that runs one Flash VM per  Flash that quickly brings any comp 
>on the knees when number of flashes grows beyond 10. Not to mention inability 
>to share and reuse fllash libraries on client. And if they will try to 
>implement all that in the Flash VM then it will be as heavy as Java. If Java 
>RT was modular then Applets would be able to do everything that Flash does but 
>more efficiently.
> 
> There are limits to what they're good for. If there were a  
>good way to attach Java to a page's DOM, then we'd be cooking.
>
>I do not think so. We  will be still dependent on browser's abilities, and IMO 
>emerging trends indicate that people want to break free from limitations of 
>HTML and browser while being able to make use of it.
>I wonder how limited GWT is in this respect? Tapestry works very hard  
>to respect the client's control of their browser.
>
>P
>
>
>On May 21, 2006, at 12:47 PM, Konstantin Ignatyev wrote:
>
>  
>
>>http://www.swixml.org/
>>http://www.java2s.com/Product/Swing/LookAndFeel.htm
>>
>>And Swing can support any kind of layout managers but I have found  
>>GridBagLayout to be very flexible and good for nearly everything I  
>>do with Swing.
>>
>>Therefore I think it does not make sense to try (re)creating Swing  
>>in browsers. Applets is what we really need :).
>>
>>
>>Norbert S�ndor  wrote:The good thing in  
>>GWT is to use the efficient development style of Swing
>>(I mean Java only, easy to debug/test) but allow to use the underlying
>>browser's HTML+CSS capatibilites for layout.
>>
>>
>>
>>Konstantin Ignatyev
>>
>>
>>
>>
>>PS: If this is a typical day on planet earth, humans will add  
>>fifteen million tons of carbon to the atmosphere, destroy 115  
>>square miles of tropical rainforest, create seventy-two miles of  
>>desert, eliminate between forty to one hundred species, erode  
>>seventy-one million tons of topsoil, add 2,700 tons of CFCs to the  
>>stratosphere, and increase their population by 263,000
>>
>>Bowers, C.A.  The Culture of Denial:  Why the Environmental  
>>Movement Needs a Strategy for Reforming Universities and Public  
>>Schools.  New York:  State University of New York Press, 1997: (4)  
>>(5) (p.206)
>>
>>
>
>_
>Piano music podcast: http://inthehands.com
>Other interesting stuff: http://innig.net
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Invalidate session

2006-05-23 Thread Konstantin Ignatyev
I do it in the invalidate.jsp and then send redirect to the client to a desired 
page.


Christian Haselbach <[EMAIL PROTECTED]> wrote: Hello,

how can a session be invalidadted gracefully? Simply calling
session.invalidate() (where session for example was retrieved using
WebRequest.getSession()) does invalidate exception, but will result
in an exception later on in AbstractEngine. Here, the state manager
is flushed which will complain about the missing session.

The exception is catched by AbstractEngine. But an error is logged.

Any ideas? Thanks.

Regards,
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

RE: Re[2]: Multiple skins with Tapestry

2006-05-22 Thread Konstantin Ignatyev
Here we go again...

The skin discussion happens every 8 months I believe  
Shall we check archives or go over exacly the same arguments one more time?

James Carman <[EMAIL PROTECTED]> wrote: Have you seen the "CSS Zen Garden"?  
You'd be surprised what you can do with
CSS...

http://www.csszengarden.com/



-Original Message-
From: Sergey Kashin [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 22, 2006 11:09 AM
To: tapestry-user@jakarta.apache.org
Subject: Re[2]: Multiple skins with Tapestry

Hello mike,

Monday, May 22, 2006, 9:17:08 PM, you wrote:

mj> css?
no, disigns will be very different. Need various templates

>>
>> How to create multiple designs with tapestry for one application?
>>
>> may be good idea to use folders for skins
>> design1/Home.html
>> design2/Home.html
>> design3/Home.html
>>
>> but for all that pages will need create view
>> design1/Home.java
>> design2/Home.java
>> design3/Home.java
>>
>> that not very nice.
>>
>> Any ideas to resolve this problem?
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>





-- 
Best regards,
 Sergeymailto:[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Multiple skins with Tapestry

2006-05-22 Thread Konstantin Ignatyev
Tapestry skins feature is in the 'wish list' 
http://wiki.apache.org/tapestry/WishList

Any ideas if it will be moved into TODO list?

Paul Cantrell <[EMAIL PROTECTED]> wrote: Yes, CSS for sure, and a border 
component that swaps out different  
CSS files based on some parameter.

On May 22, 2006, at 9:16 AM, mike jones wrote:

> css?
>
> On 5/22/06, Sergey G. Kashin  wrote:
>>
>> How to create multiple designs with tapestry for one application?
>>
>> may be good idea to use folders for skins
>> design1/Home.html
>> design2/Home.html
>> design3/Home.html
>>
>> but for all that pages will need create view
>> design1/Home.java
>> design2/Home.java
>> design3/Home.java
>>
>> that not very nice.
>>




Re: Google Web Toolkit

2006-05-21 Thread Konstantin Ignatyev


Paul Cantrell <[EMAIL PROTECTED]> wrote: Horrible, horrible, GridBagLayout 
I loathe it. What an awful  
mess. CSS is so many thousands of times nicer for doing layout

Couple of wrapper functions to constraints make it very easy to use, not to 
mention  that it is very easy to arrange components in UI editor like NetBeans.

And if you do not like it, then there is plenty of layout managers for Swing 
http://wiki.java.net/bin/view/Javadesktop/3thParty

I am sympathetic to the "applets not Javascript" argument, though.  
"Applets with CSS layout" would be especially nice.

But applets don't integrate well with the flow of the web: like Flash- 
based sites, you can't bookmark them, search engines can't index  
them, etc.

I was talking at conceptual level, by no means I consider current state of 
Applets to be ideal. But  the problems you have mentioned are very common for 
all kinds of stateful techniques: Tapestry, heavy Ajax applilications, Echo2, 
and I guess GWT. Even if continuation is used it is still hard to do, for 
example fhat good will it do if we will be able to bookmark a purchasing  
transaction in the middle? 

On Flash - the technology does not make sense at all: it is crippled and 
simplified JVM that runs one Flash VM per  Flash that quickly brings any comp 
on the knees when number of flashes grows beyond 10. Not to mention inability 
to share and reuse fllash libraries on client. And if they will try to 
implement all that in the Flash VM then it will be as heavy as Java. If Java RT 
was modular then Applets would be able to do everything that Flash does but 
more efficiently.
 
 There are limits to what they're good for. If there were a  
good way to attach Java to a page's DOM, then we'd be cooking.

I do not think so. We  will be still dependent on browser's abilities, and IMO 
emerging trends indicate that people want to break free from limitations of 
HTML and browser while being able to make use of it.
I wonder how limited GWT is in this respect? Tapestry works very hard  
to respect the client's control of their browser.

P


On May 21, 2006, at 12:47 PM, Konstantin Ignatyev wrote:

> http://www.swixml.org/
> http://www.java2s.com/Product/Swing/LookAndFeel.htm
>
> And Swing can support any kind of layout managers but I have found  
> GridBagLayout to be very flexible and good for nearly everything I  
> do with Swing.
>
> Therefore I think it does not make sense to try (re)creating Swing  
> in browsers. Applets is what we really need :).
>
>
> Norbert S�ndor  wrote:The good thing in  
> GWT is to use the efficient development style of Swing
> (I mean Java only, easy to debug/test) but allow to use the underlying
> browser's HTML+CSS capatibilites for layout.
>
>
>
> Konstantin Ignatyev
>
>
>
>
> PS: If this is a typical day on planet earth, humans will add  
> fifteen million tons of carbon to the atmosphere, destroy 115  
> square miles of tropical rainforest, create seventy-two miles of  
> desert, eliminate between forty to one hundred species, erode  
> seventy-one million tons of topsoil, add 2,700 tons of CFCs to the  
> stratosphere, and increase their population by 263,000
>
> Bowers, C.A.  The Culture of Denial:  Why the Environmental  
> Movement Needs a Strategy for Reforming Universities and Public  
> Schools.  New York:  State University of New York Press, 1997: (4)  
> (5) (p.206)

_
Piano music podcast: http://inthehands.com
Other interesting stuff: http://innig.net



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Google Web Toolkit

2006-05-21 Thread Konstantin Ignatyev
http://www.swixml.org/
http://www.java2s.com/Product/Swing/LookAndFeel.htm

And Swing can support any kind of layout managers but I have found 
GridBagLayout to be very flexible and good for nearly everything I do with 
Swing.

Therefore I think it does not make sense to try (re)creating Swing in browsers. 
Applets is what we really need :).

 
Norbert S�ndor <[EMAIL PROTECTED]> wrote:The good thing in GWT is to use the 
efficient development style of Swing 
(I mean Java only, easy to debug/test) but allow to use the underlying 
browser's HTML+CSS capatibilites for layout.



Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

Re: Google Web Toolkit

2006-05-20 Thread Konstantin Ignatyev
 >I prefer the average webapp's UI to the average

> desktop (well, Windows) or Swing UI.
  First of all let me state the obvious: there are different types of 
applications and they have different requirements.
  

I yet to see a convenient web based text editor or accounting application, much 
less an IDE. Please point me at just one robust and convenient text editing 
component: they are not a match to 'desktop' .ones.  
 
 
 The whole idea of overhauling html with javascript and other types of 
augmentation technologies does not seem to be conceptually correct. From the 
conceptual point of view it all looks like XWindow  reinvention with the help 
of ducktape and gluegun. 
 
 
 IMO the whole buzz around GWT validates Swing framework as solid basis for 
building certain types of UI. Ant therefore rather than compile it to 
Javascript  or whatever within a browser it would make much more sense to let 
Swing components to work within browsers.
 
 
 And what is interesting is that all the technologies are here in place ant 
they need just slight adjustments:
 - Browser Components were invented long time ago and they are called: Applets. 
All we need is to make Java Web Start technology to work with them well;
 - JavaWebStart, JNLP actually needs to be altered a bit to allow using a 
shared repository of components per developers choice. The ability is present 
now but the feature is artificially limited to the same source domain and does 
not allow multiple signatures on components;
 - And Java RT should be made modular and become a must have for the clients, 
which is going to be easy enough since Sun is going to opensource it;
   
 I think that this set of technologies if far superior to anything else we have 
in the space: Flash, Ajax, and current JWS applications. Yes the technologies 
are 'old' and have some stigma attached but we need to overcome it in order to 
have some meaningful progress rather than be obsessed with 'new' stuff that on 
many occasions is just reinvent the wheel, but makes it square or octahedral (I 
guess it improves traction.).  
 
 
 

Re: Assets

2006-05-19 Thread Konstantin Ignatyev
page.assets.nameOfAsset

or from any page 

page.requestCycle.getPage('Resources').assets.nameOfAsset

Stephane Decleire <[EMAIL PROTECTED]> wrote: Hi all,

Is there a way for a component to use the assets of the parent page ?
Thanks in advance.

-- 
St�phane Decleire

05 56 57 99 20
06 63 78 69 06




Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

RE: new logo for Tapestry

2006-05-18 Thread Konstantin Ignatyev
I have nothing against Apache but Tapestry fared well before getting under 
Apache's umbrella.
 
And if we look at the other top level project logos, then majority of them have 
their own logo's just fine and simply put ASF logo next to their own.  That 
makes sense IMO. 

James Carman <[EMAIL PROTECTED]> wrote: Well, tapestry *is* an Apache top-level 
project now (and an Apache
"product").  I think it's very important that we include the "apache
feather." 

-----Original Message-
From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 18, 2006 4:22 PM
To: Tapestry users
Subject: Re: new logo for Tapestry

I think the first image is just fine. 

IMO logo should be free of any references to Apache or any other projects or
organizations for that matter. If there will be Apache feather then why now
add that cup of cofee, or make it cup of ink and put the feather in it ;).



Borut Bolčina  wrote: Here, I took the liberty of recreating
the background. Geoff, I hope you 
dont't mind.
http://svarog.homeip.net/tapestry-logo/logo.png

What do you say?

-Borut


Geoff Longman pravi:
> Have a look at the Spindle logo at http://spindle.sf.net
>
> Behind the swoopy S is a version of the old T logo I like a lot -
> looks like an architectural drawing.
>
> Alas, I lost the original vector artwork for that logo long ago.
>
> Geoff
>
> On 5/17/06, Steven Bell  wrote:
>> I must say I like Dwi Ardi Irawan's logo for three main reasons.
>>
>> It's simple.
>> It scales nicely. (I think this is very important!)
>> It looks professional.
>>
>> And on top of that it looks really good.
>>
>> On 5/17/06, Fernando Padilla  wrote:
>> >
>> > I sort of like the basic T logo, this one is along the same lines.
>> >
>> > another brainstorm: take a weave pattern like old windows background,
>> > but highlight a few bits of the weave to have a T come out of it.
>> > Basically take the current logo, but add a weave pattern in the
>> > background in very light grey..
>> >
>> > Dwi Ardi Irawan wrote:
>> > > it's just my opinion.
>> > > tapestry logo
>> > >
>> > > i think
>> > > tapestry logo competition just use for the best logo and 
>> represent the
>> > > tapestry meaning
>> > >
>> > > cmiiw
>> > >
>> > >
>> > >
>> > >
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>> -- 
>> Regards,
>>
>> Steven Bell
>>
>>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

RE: new logo for Tapestry

2006-05-18 Thread Konstantin Ignatyev
Could you explain please why it is the "must"?

James Carman <[EMAIL PROTECTED]> wrote:Including the "apache feather" is a must 
IMHO.  



Re: new logo for Tapestry

2006-05-18 Thread Konstantin Ignatyev
I think the first image is just fine. 

IMO logo should be free of any references to Apache or any other projects or 
organizations for that matter. If there will be Apache feather then why now add 
that cup of cofee, or make it cup of ink and put the feather in it ;).



Borut Bolčina <[EMAIL PROTECTED]> wrote: Here, I took the liberty of 
recreating the background. Geoff, I hope you 
dont't mind.
http://svarog.homeip.net/tapestry-logo/logo.png

What do you say?

-Borut


Geoff Longman pravi:
> Have a look at the Spindle logo at http://spindle.sf.net
>
> Behind the swoopy S is a version of the old T logo I like a lot -
> looks like an architectural drawing.
>
> Alas, I lost the original vector artwork for that logo long ago.
>
> Geoff
>
> On 5/17/06, Steven Bell  wrote:
>> I must say I like Dwi Ardi Irawan's logo for three main reasons.
>>
>> It's simple.
>> It scales nicely. (I think this is very important!)
>> It looks professional.
>>
>> And on top of that it looks really good.
>>
>> On 5/17/06, Fernando Padilla  wrote:
>> >
>> > I sort of like the basic T logo, this one is along the same lines.
>> >
>> > another brainstorm: take a weave pattern like old windows background,
>> > but highlight a few bits of the weave to have a T come out of it.
>> > Basically take the current logo, but add a weave pattern in the
>> > background in very light grey..
>> >
>> > Dwi Ardi Irawan wrote:
>> > > it's just my opinion.
>> > > tapestry logo
>> > >
>> > > i think
>> > > tapestry logo competition just use for the best logo and 
>> represent the
>> > > tapestry meaning
>> > >
>> > > cmiiw
>> > >
>> > >
>> > >
>> > >
>> >
>> > -
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>> -- 
>> Regards,
>>
>> Steven Bell
>>
>>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: List blocking files

2006-05-18 Thread Konstantin Ignatyev
-1

It is better to have a Wiki page with all the images or links to them at some 
common place than bounce big binaries around.

Same is applicable to other binary stuff. It is better to put it on the web and 
have a wiki page to describe it.

Andreas Bulling <[EMAIL PROTECTED]> wrote: Just because during the logo 
discussion the problem occured several
times: Why does the list block attachments at all? Would it be possible
to allow attachments? I'd vote +1 for that...

Kind regards,
  Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Tapestry to generate mails ?

2006-05-17 Thread Konstantin Ignatyev
>> Despite issues anyone may have with Maven, why not use ibiblio for it? 
>> Instead of YAPTG (yet another place to go)?

If ibiblio can be that place then we do not need YAPTG!  There are issues 
with ibiblio maven2 repository:
 - Ever tried to put artifacts into ibiblio?
 - There is nobody interested in the repository itself as client agnostic 
provider of artifacts. There is too much Maven agenda behind the repository at 
mu taste;
 - The repository is dirty: incomplete metadata, unknown artifact origins, 
incorrect dependencies info, etc.
 - The current Maven repository is incomplete;
 Personally I would be happy if we in Java community had a repository that we 
would be able to use daily like this: 
http://area51.sourcelabs.com/cjar/info/about/cjar_everyday_use.png
 I do not care much if it is iBiblio, area51, repo.sun.com, I just badly want 
this thing to be available for Java community.
 
 
Konstantin Ignatyev



- Original Message 
From: Brian K. Wallace <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Wednesday, May 17, 2006 9:16:03 AM
Subject: Re: Tapestry to generate mails ?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

There are reasons why I'll never see that methodology in some places,
but let's stick to where it can work: Despite issues anyone may have
with Maven, why not use ibiblio for it? Instead of YAPTG (yet another
place to go)?

I'm still in favor of getting more of the commonly requested services
packaged together. Some I believe would be nice in Tapestry (not core,
but as contrib is today), some less so. I just think we need to start
getting the "componentization" (what Tapestry preaches) back into
services as well as into presentation.

Konstantin Ignatyev wrote:
>  
> Those are valid concerns Brian. There are my thoughts on that:
>  - Network is unavailable: dependency manager should maintain a local cache 
> of already downloaded artifacts to avoid unnecessary network trips.  Maven 
> dependencies resolver already has that but they have bad update policy IMO 
> that requires rechecking with repository at least once a day. Unnecessary IMO 
> and bad by design because this way they try to implement auto updates based 
> on version ranges in the dependencies: very bad idea because it leads to the 
> build unpredictability by design!  
>  - Server is unavailable: there should be network of servers. It is very 
> common approach and works remarkably well (Gentoo, Ubuntoo, and other 
> GNU-Linux distros);
>- Speed of operations and network outages: for serious use company or 
> person should be able easily install a local copy of the repository within 
> own network that will allow (semi-)independent operation and provide place 
> for artifacts we or they cannot place on the public servers. Examples of 
> those:
>  - SUNs j2ee interface jars cannot be placed in the repository because of 
> licensing limitations;
>  - Company's private assets have no place in the public repositories too;
>  
> All the above makes me believe that 'one download' concept should an can be 
> retired. The repository seed can be made downloadable as DVD image - that 
> would make sense IMO.
>  
> Konstantin Ignatyev

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFEa0xDaCoPKRow/gARAqr+AJ4ttVE9hLKCT0QOMPjbmwRcUBT8XwCfaKIa
N6LlPaDUiPbjsVFx9my9xgE=
=Qrex
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: perform Post on external link

2006-05-17 Thread Konstantin Ignatyev
>>but I have no idea how to get the user's browser redirected to the PayPal 
>>site.

The old fashioned way:
inject response and then
response.sendRedirect("http://paypal";);


- Original Message 
From: Craig Hamilton <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Wednesday, May 17, 2006 8:56:00 AM
Subject: RE: perform Post on external link

I am not sure.  Let me give some more information, and hopefully that
will clarify.

I have a cart page in which users can add/remove products at the bottom
of that page I present them with two buttons, Pay with PayPal, Pay with
Credit Card.  If they click Pay by Credit Card, I just want to go on to
another tapestry page of mine.  If they click Pay by PayPal, I need to
do a http POST to the paypal url, and the user goes there instead.

Would the @Any do this?  The PayPal POST requires a bunch of parameters
to be passed in, which I would ideally like to avoid in the general case
(ie user uses their credit card).  So I was thinking I could just have a
listener hooked up to my PayPal button, and then form a POST with the
session info (use commons HTTP maybe??), but I have no idea how to get
the user's browser redirected to the PayPal site.

Any ideas?

On Wed, 2006-17-05 at 09:00 +0200, Schulte Marcus wrote:
> Would
> 
> 
> 
> work?
> The input's in the form would then also have to be
> @Any's ...
> 
> > -Original Message-
> > From: Craig Hamilton [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 17, 2006 3:15 AM
> > To: 'Tapestry users'
> > Subject: perform Post on external link
> > 
> > 
> > I have a shopping cart, and on a page I need two buttons, one to Pay
> > with Credit Card, which goes to my PaymentInfo page, and then another
> > button Pay with PayPal, which will do a http post to the paypal pages.
> > Which component should I be using for the PayPal button, and how do I
> > redirect the user to that paypal.com page, needing to do a POST?
> > 
> > Thanks in advance,
> > Craig
> > 
> > ps. using tap 4
> > 
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: Tapestry to generate mails ?

2006-05-17 Thread Konstantin Ignatyev
   Those are valid concerns Brian. There are my thoughts on 
that:
 - Network is unavailable: dependency manager should maintain a local cache of 
already downloaded artifacts to avoid unnecessary network trips.  Maven 
dependencies resolver already has that but they have bad update policy IMO that 
requires rechecking with repository at least once a day. Unnecessary IMO and 
bad by design because this way they try to implement auto updates based on 
version ranges in the dependencies: very bad idea because it leads to the build 
unpredictability by design!  
 - Server is unavailable: there should be network of servers. It is very common 
approach and works remarkably well (Gentoo, Ubuntoo, and other GNU-Linux 
distros);
   - Speed of operations and network outages: for serious use company or person 
should be able easily install a local copy of the repository within own network 
that will allow (semi-)independent operation and provide place for artifacts we 
or they cannot place on the public servers. Examples of those:
 - SUNs j2ee interface jars cannot be placed in the repository because of 
licensing limitations;
 - Company's private assets have no place in the public repositories too;
 
All the above makes me believe that 'one download' concept should an can be 
retired. The repository seed can be made downloadable as DVD image - that would 
make sense IMO.
 
Konstantin Ignatyev



- Original Message 
From: Brian K. Wallace <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Wednesday, May 17, 2006 8:45:49 AM
Subject: Re: Tapestry to generate mails ?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The "dependencies will be downloaded" from a "central repository" is
Maven 101. The problem I ran into was "this is your build machine. it
has NO connectivity outside this room". Corner case? Oh, yeah... but it
shows where the "Maven 101" logic falls short (dreadfully short).

Add to that - I am currently trying to build my Eclipse environment from
scratch (yes, again - this makes 4 Eclipse installs all for different
reasons/versions) and lo and behold - I cannot get the Maven plugin.
Why? Codehaus is down. Corner case? Not at all. Blue Security (one
example) took down sites recently (wanna piss of some spammers?).
Servers go down. Connections drop. And the impact of this spreads
exponentially as the "dependencies will be downloaded" concept grows.

Good idea, but I don't believe "retired" is a good word to use. Possibly
"used in addition to"?

My .02

Konstantin Ignatyev wrote:
>   Well, I think that the "one download" concept should be retired and we can 
> do better than that old fashioned rigid approach. IMO it should work like 
> this: a tiny project that defines configuration and dependencies has to 
> be created and uploaded to the central repository;
>  when somebody will want to use the project then all the dependencies 
> will be downloaded from the repository;  
>  then if that someone will want to add to more components to the 
> project it would be simple matter of adding one line to the dependencies 
> section of the Ant's build.xml or Maven's POM file (it works today) or 
> choosing new dependency in an IDE (available in Eclipse with Maven 
> plugin).
>   That is why I have created the CJAR project, I want it to become THE 
> repository for Java community so we all can easily assemble our applications 
> in the way we want. There are some ideas on how to allow people to upload 
> libraries and components, please have a glance and send your thoughts.
> Common repositories serve well in other communities and I think we should get 
> one too.
>   
> Konstantin Ignatyev

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFEa0UsaCoPKRow/gARAvZTAJ9s3E64Q5uo7E+S0MdHKmPbPS6OEACeNle3
LjZ1OYGU9ryEldveC/5+dG8=
=ld62
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: Tapestry to generate mails ?

2006-05-17 Thread Konstantin Ignatyev
  Well, I think that the "one download" concept should be retired and we can do 
better than that old fashioned rigid approach. IMO it should work like this: a 
tiny project that definesconfiguration and dependencies has to be 
created and uploaded to thecentral repository;
when somebody will want to use  the project then all the dependencies 
will be downloaded from the   repository; 
then if that someone will want  to add to more components to the 
project it would be simple matter  of adding one line to the dependencies 
section of the Ant's build.xml or Maven's POM file (it works today) or 
choosing new  dependency in an IDE (available in Eclipse with Maven plugin).
  That is why I have created the CJAR project, I want it to become THE 
repository for Java community so we all can easily assemble our applications in 
the way we want. There are some ideas on how to allow people to upload 
libraries and components, please have a glance and send your thoughts.
Common repositories serve well in other communities and I think we should get 
one too.
  
Konstantin Ignatyev

- Original Message 
From: Peter Svensson <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Wednesday, May 17, 2006 12:03:07 AM
Subject: Re: Tapestry to generate mails ?

You know what I would like to see; An array of well-wanted services
integrated into Tapestry from day one.
Generic download of anything, sure, it's there. Send-an-email; well, of
course we have it. Et.c.

Maybe Someone could make something like those eclipse guys did with
EasyEclipse distributions, just bundle the best of breed into one download.

Hmm.. OK, yes, I know. The old argument which is a version of " I don't
wan't to be tied into the strict confines of a hig-level lanuage! You can do
all you want with assembler! And macros too!"

My point is this; You don't have to eat the peas even if they're on your
plate.

For veggies (newbies) however, it would help a lot not to have to track
stuff down, or break a neck getting a service to work the first time (then,
neck finally healed, getting Kents bok and copying it right off, maybe
understanding it in part a month later), rather than just using an in-system
readily available one.



Cheers,
PS

On 5/17/06, Michael Lake <[EMAIL PROTECTED]> wrote:
>
> I'm *very* interested in seeing such a service. I want to keep in line
> with using all of tapestry's i8n and be able to send multi-part mime
> messages which have html and plain text.
>
> Please do put something up on the wiki and let us all know.
>
> goody goody.
>
> -mike
>
>
> Henri Dupre wrote:
>
> > I don't agree on this... Also I don't see really differences between
> > "static" email and interactive HTML. In the emails we generate, there is
> > lots of dynamic content although there is no form handling, we use the
> > same
> > components plus many other tapestry features. Velocity is fine, but
> > not when
> > you start to have complex emails. What makes tapestry great for this
> task
> > are the templates. In addition, I rather not add another technology to
> > our
> > project, Velocity is simple, but just *more* to learn and manage for our
> > other developers.
> >
> > And I'll give you a very usefull usage of sending html pages: for
> > exceptions, we send the tapestry error page by email (in tapestry 3)
> > while
> > we give to the client a friendly error page. Logging is fine but it
> > doesn't
> > give you all the detailed info of an error.
> >
> > I've been working on an EmailService for T4, you can inject it in any
> > page
> > and the interface is quite simple. It takes a list of properties (for
> > email
> > headers, from/to/subject), a page (String or object) and eventually an
> > object map if you want to call the external interface of your page.
> > It is working 90% now and it is relying on a fresh request cycle, so
> > it will
> > be possible to thread the whole thing. Getting a fresh request
> > cycle requires quite a bit of hacking, I may need to write a specific
> > engine
> > object. I can post the code on the wiki once I'm done if anyone is
> > interested.
> >
> >
> >
> >
> >
> >
> >
> > On 5/3/06, James Carman <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Tapestry is for creating interactive HTML, not a static HTML-formatted
> >> email
> >> (IMHO).  I think you're trying to use an elephant gun to hunt squirrel
> >> here.
> >> Velocity is perfect for generating email text.  You can still use your
> >> archit

Re: Why .page and not .xml for the template ?

2006-05-16 Thread Konstantin Ignatyev
Yes,IMO it would be better if those files were called *.jwc.xml and *.page.xml 
in this case IDEs would not need additional configuration to recognize the 
files. Hibernate uses the approach with hbm.xml and it works wery well.
 
Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

- Original Message 
From: ZedroS Schwart <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Tuesday, May 16, 2006 2:22:52 PM
Subject: Why .page and not .xml for the template ?

Hi all

Just a question which popped up recently in my mind : why are the templates
pages named .page and not .xml ?

It's not like another .xml would have annoyed anyone, is it ? On the other
hand, .xml files would be automatically detected and dealed accordingly but
all tools, whereas .page are less well known...

Do you have any idea on the topic ?

Thanks in advance
ZedroS





Re: I do not like the new tapestry logo

2006-05-15 Thread Konstantin Ignatyev
Very good response Paul!
Negative reaction is very important 
to look at when people are genuinely seeking for input rather than for 
corroboration.

IMO logo should be either completely neutral like some geometrical shape or  
bear ubiquitous reference to something.
I think the proposed unicorn does not fit in any of those categories.

  
Konstantin Ignatyev

- Original Message 
From: Paul Russell <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Monday, May 15, 2006 1:28:12 PM
Subject: Re: I do not like the new tapestry logo

On 15 May 2006, at 20:37, Wayland Chan wrote:
> "Constructive criticism"
> Simply saying you don't like it without providing a better alternative
> iswell no need for me to finish that sentence.

Well, ish. The issue with Logo's is that they're the first thing  
people use to judge your project. If people don't like it in general,  
that's important information to take on board, regardless of whether  
a viable alternative is on the table.

I have to say, personally, I'm not totally against the original logo  
-- it does have simplicity on its side. That said, like everyone  
else, I appreciate the need to move on. Maybe we should be  
considering delaying changing the logo, and having some kind of logo  
contest (cliched, I know) to make sure we choose something that has  
general appeal?

Just my $0.10.

Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: Report in Tapestry using Jasperreport

2006-05-14 Thread Konstantin Ignatyev
 I did that as a service in Tapestry 3, works perfectly. 
Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million 
tons of carbon to the atmosphere, destroy 115 square miles of tropical 
rainforest, create seventy-two miles of desert, eliminate between forty to one 
hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of 
CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a 
Strategy for Reforming Universities and Public Schools.  New York:  State 
University of New York Press, 1997: (4) (5) (p.206)

- Original Message 
From: Dwi Ardi Irawan <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Sunday, May 14, 2006 7:12:42 PM
Subject: Report in Tapestry using Jasperreport

does anyone try jasperreports in tapestry ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: Slightly OT: Public Tapestry based site and service is seeking users, testers, and contributers

2006-05-10 Thread Konstantin Ignatyev
   As you already noticed CJAR does have exactly the Maven2 
structure and can be used from Maven.

iBiblio's maven2 mirror is here
http://dist.sourcelabs.com/sash/m2/
 It is approximately 2 days behind ibiblio's mirror on LSU.

If somebody knows how to get hold of ibiblio/maven2 directory via rsync pleased 
let me know.
I have made several attempts to contact  ibiblio folks but did not get any 
response. Their rsync instructions do not work. 

Therefore I am doing websynking via Pavuk now, which is far from being speedy 
and optimal :(
 
 
Konstantin Ignatyev



- Original Message 
From: Todd Orr <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Wednesday, May 10, 2006 11:57:05 AM
Subject: Re: Slightly OT: Public Tapestry based site and service is seeking 
users, testers, and contributers

Nevermind. Look slike it does do this:


  sourcelabs
  http://dist.sourcelabs.com/sash/repo


sweet!

On 5/10/06, Todd Orr <[EMAIL PROTECTED]> wrote:
> This looks useful. It would be nice if it could plug directly into
> maven, though.
>
> Considering that it is a good search tool for dependencies, maybe you
> could provide a url path (/repository ?) that emulates a maven repo.
> Subsequest portions of the path could be converted to search terms.
> These search results could generate maven files so that this search
> could also double as a maven repo.
>
> On 5/10/06, Joshua Long <[EMAIL PROTECTED]> wrote:
> > Very cool!
> >
> > On Tue, 2006-05-09 at 13:55 -0400, C .Srinivas wrote:
> > > Wow!
> > > looks great!
> > >
> > >
> > >
> > >
> > > On 5/9/06, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote:
> > > >
> > > >  I guess your mouse hoovered over grayed javadoc or
> > > > source icons on the way to the popup, that closes the currently open 
> > > > tip and
> > > > displays the new one. This is the way overlib works.
> > > >
> > > >
> > > > I guess that easy fix would be to display popups only by onmouseclick 
> > > > hook
> > > > rather than try to use onmouseover, but I want to explain why the icon 
> > > > is
> > > > grayed out without necessity to click, I think it is not natural thing 
> > > > to
> > > > click on gray controls these days.
> > > >
> > > >
> > > > In any case all suggestions are welcome.
> > > >
> > > >
> > > > Andreas Andreou <[EMAIL PROTECTED]> wrote: Yea, really nice service.
> > > > But those tooltips get on my nerves... they close before i hover into
> > > > them...
> > > > grr
> > > >
> > > > Massimo Lusetti wrote:
> > > > > On 5/8/06, Konstantin Ignatyev  wrote:
> > > > >
> > > > >> Let me invite you to try and use the public
> > > > >> Tapestry based application I have been developing for a while and my
> > > > >> company SourceLabs supports and hosts
> > > > >
> > > > > Wow!
> > > > >
> > > > > --
> > > > > Massimo
> > > > > http://meridio.blogspot.com
> > > > >
> > > > > -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > > >
> > > >
> > > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: Slightly OT: Public Tapestry based site and service is seeking users, testers, and contributers

2006-05-09 Thread Konstantin Ignatyev
  I guess your mouse hoovered over grayed javadoc or source 
icons on the way to the popup, that closes the currently open tip and displays 
the new one. This is the way overlib works.   
 
 
 I guess that easy fix would be to display popups only by onmouseclick hook 
rather than try to use onmouseover, but I want to explain why the icon is 
grayed out without necessity to click, I think it is not natural thing to click 
on gray controls these days.
 
 
 In any case all suggestions are welcome.
 

Andreas Andreou <[EMAIL PROTECTED]> wrote: Yea, really nice service.
But those tooltips get on my nerves... they close before i hover into 
them...
grr

Massimo Lusetti wrote:
> On 5/8/06, Konstantin Ignatyev  wrote:
>
>> Let me invite you to try and use the public 
>> Tapestry based application I have been developing for a while and my 
>> company SourceLabs supports and hosts
>
> Wow!
>
> -- 
> Massimo
> http://meridio.blogspot.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Slightly OT: Public Tapestry based site and service is seeking users, testers, and contributers

2006-05-08 Thread Konstantin Ignatyev
Let me invite you to try and use the public Tapestry 
based application I have been developing for a while and my company SourceLabs 
supports and hosts
http://area51.sourcelabs.com/cjar/app
  Features:
  * search for Java artifacts by name or content (class and package names);
 * ready to download links to jar files, and source and javadoc archives when 
available;
 * auto generated snippets to include into Maven or Ant build files;
 * info panel about artifacts: origins, licenses, etc;
 * JarDiff jar comparer tool to tell the exact differences between two Java 
archives;
 * Dependencies 'shopping cart' allows generating Ant and Maven build files 
based its content;
 * Dependencies report that lists all the jars in the selection plus additional 
information;
 * On-line services exposed via Hessian protocol:
  * simple search;
  * MD5 search;
 * Client side JarSetAnalyzer tool to analyze existing jar files and report 
meta-information about them: for example for anonymous dom4j.jar file the tool 
can tell that it is the version 1.5.1 and that version 1.6 update is available, 
it will also report applicable licenses.  JarSetAnalyzer can be also used to 
check if all the used jar files were not altered;
 
http://area51.sourcelabs.com/cjar/app?page=CJARResources&service=external&sp=S%2Finfo%2Fresources%2FsearchService.html
 
 
 Those features are only tiny subset of all intended features outlined in the 
project roadmap:
 http://area51.sourcelabs.com/cjar/info/about/cjar_everyday_use.png
 
 
 The project has been inspired by CPAN, PyPI, Pear, Gentoo, and other 
repositories which serve well to the communities, and only Java lacks a central 
repository from where we can reliably get necessary artifacts. The CJAR has the 
ambitious goal of becoming The Java Repository and therefore it depends on 
community acceptance, transparency and feature completeness.
 
 
 Please look at the beta, try to use it, and send us feedback so we can improve 
the tool and it can better serve Java community at large. You are welcome to 
use form in the CJAR
 http://area51.sourcelabs.com/cjar/app?page=FeedbackForm&service=external
 or send us email, or edit SWIK pages, whichever is convenient for you.


Sincerely,

Konstantin