Re: Proposal for a new book: Mastering Apache Tapestry

2013-08-05 Thread Thiago H de Paula Figueiredo
On Mon, 05 Aug 2013 19:10:57 -0300, Dimitris Zenios  
 wrote:



I would love to see a book for tapestry-ioc,plastic only.And how it can
integrate with other forms of application and compete with spring etc etc


This book has the intention of covering 100% of Tapestry-IoC and most of  
Plastic, at least the parts relevant to show how to write class  
transformations like the ones Tapestry does for @Inject, @Property, etc. I  
like the idea of comparing Tapestry-IoC with Spring and other dependency  
injection frameworks. :)


What other forms of application you're talking about? 'Integration' is a  
word which is used with different meanings in different contexts and even  
from different people. For example, if tapestry5-jquery just provided the  
inclusion of jQuery, I wouldn't call it an integration. But it does  
provide components and mixins that automates the use of some parts of  
jQuery UI, so I call it an integration.


--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Ckeditor and tapestry 5.4

2013-08-05 Thread Yunhua Sang
Is Ckeditor loading CSS files by itself? If not, you could leave the CSS
files in assets folder, then load the css files through @Import in the
component Java class.




On Mon, Aug 5, 2013 at 6:08 PM, Dimitris Zenios
wrote:

> Also Yunhua Sang module dispatcher only support .js files.Ckeditor needs to
> load css files alsos
>
>
> On Tue, Aug 6, 2013 at 12:30 AM, Dimitris Zenios
> wrote:
>
> > There is a slight problem.I am using a require.js module to load
> > ckeditor.I have ckeditor-library as a shim and a ckeditor module like
> this
> >
> > define(["ckeditor-library"], function() {
> >  return function(spec) {
> >blah blah
> > }
> > });
> >
> > When ckeditor library is initialized, it tries to get its javascript
> files
> > from /assets.gz/modules which are not there.All of its javascript/css
> files
> > are located inside META-INF/assets/ckeditor.
> >
> >
> > On Tue, Aug 6, 2013 at 12:21 AM, Yunhua Sang  >wrote:
> >
> >> Hi Dimitris,
> >>
> >> You could create a new JavaScript module and put all the needed
> JavaScript
> >> files into the same folder.
> >>
> >> The folder structure could be like:
> >>
> >> resources
> >> META-INF
> >> modules
> >> ckeditor
> >> js files...
> >>
> >>
> >> The default folder of JavaScript modules is resources/META-INF/modules;
> in
> >> the example above, the module name is ckeditor.
> >>
> >> Regards,
> >> Yunhua
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Mon, Aug 5, 2013 at 2:01 PM, Dimitris Zenios
> >> wrote:
> >>
> >> > Hello everybody.I am trying to integrate tapestry 5.4 and ckeditor.
> >> > Ckeditor loads all its dependencies asynchronously but not through
> >> > require.js. How can i expose ckeditors folder for the to the client in
> >> > order to let ckeditor.js load its resources from?
> >> >
> >> > Regards
> >> > Dimitris Zenios
> >> >
> >>
> >
> >
>


Re: Proposal for a new book: Mastering Apache Tapestry

2013-08-05 Thread Dimitris Zenios
I would love to see a book for tapestry-ioc,plastic only.And how it can
integrate with other forms of application and compete with spring etc etc


On Tue, Aug 6, 2013 at 12:20 AM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Mon, 05 Aug 2013 17:13:54 -0300, Thiago H de Paula Figueiredo <
> thi...@arsmachina.com.br> wrote:
>
>  * I thought about a cookbook section, but I'm not sure what people would
>> find interesting.
>>
>> * You may suggest by asking questions about Tapestry or how to implement
>> something with it, even if it sounds preposterous.
>>
>
> For the two items above, I'd love to hear questions like "What part of
> Tapestry does X?" or "How can I implement X in Tapestry?", where X is not
> vague ('charts' vague, 'JFreeChart' non-vague) and the answer is not easily
> found when Googling it. I want to write a book that provides information
> not yet found elsewhere.
>
>
> --
> Thiago H. de Paula Figueiredo
>
> --**--**-
> To unsubscribe, e-mail: 
> users-unsubscribe@tapestry.**apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Ckeditor and tapestry 5.4

2013-08-05 Thread Dimitris Zenios
Also Yunhua Sang module dispatcher only support .js files.Ckeditor needs to
load css files alsos


On Tue, Aug 6, 2013 at 12:30 AM, Dimitris Zenios
wrote:

> There is a slight problem.I am using a require.js module to load
> ckeditor.I have ckeditor-library as a shim and a ckeditor module like this
>
> define(["ckeditor-library"], function() {
>  return function(spec) {
>blah blah
> }
> });
>
> When ckeditor library is initialized, it tries to get its javascript files
> from /assets.gz/modules which are not there.All of its javascript/css files
> are located inside META-INF/assets/ckeditor.
>
>
> On Tue, Aug 6, 2013 at 12:21 AM, Yunhua Sang wrote:
>
>> Hi Dimitris,
>>
>> You could create a new JavaScript module and put all the needed JavaScript
>> files into the same folder.
>>
>> The folder structure could be like:
>>
>> resources
>> META-INF
>> modules
>> ckeditor
>> js files...
>>
>>
>> The default folder of JavaScript modules is resources/META-INF/modules; in
>> the example above, the module name is ckeditor.
>>
>> Regards,
>> Yunhua
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Aug 5, 2013 at 2:01 PM, Dimitris Zenios
>> wrote:
>>
>> > Hello everybody.I am trying to integrate tapestry 5.4 and ckeditor.
>> > Ckeditor loads all its dependencies asynchronously but not through
>> > require.js. How can i expose ckeditors folder for the to the client in
>> > order to let ckeditor.js load its resources from?
>> >
>> > Regards
>> > Dimitris Zenios
>> >
>>
>
>


Re: Ckeditor and tapestry 5.4

2013-08-05 Thread Dimitris Zenios
There is a slight problem.I am using a require.js module to load ckeditor.I
have ckeditor-library as a shim and a ckeditor module like this

define(["ckeditor-library"], function() {
 return function(spec) {
   blah blah
}
});

When ckeditor library is initialized, it tries to get its javascript files
from /assets.gz/modules which are not there.All of its javascript/css files
are located inside META-INF/assets/ckeditor.


On Tue, Aug 6, 2013 at 12:21 AM, Yunhua Sang  wrote:

> Hi Dimitris,
>
> You could create a new JavaScript module and put all the needed JavaScript
> files into the same folder.
>
> The folder structure could be like:
>
> resources
> META-INF
> modules
> ckeditor
> js files...
>
>
> The default folder of JavaScript modules is resources/META-INF/modules; in
> the example above, the module name is ckeditor.
>
> Regards,
> Yunhua
>
>
>
>
>
>
>
>
>
> On Mon, Aug 5, 2013 at 2:01 PM, Dimitris Zenios
> wrote:
>
> > Hello everybody.I am trying to integrate tapestry 5.4 and ckeditor.
> > Ckeditor loads all its dependencies asynchronously but not through
> > require.js. How can i expose ckeditors folder for the to the client in
> > order to let ckeditor.js load its resources from?
> >
> > Regards
> > Dimitris Zenios
> >
>


Re: Ckeditor and tapestry 5.4

2013-08-05 Thread Yunhua Sang
Hi Dimitris,

You could create a new JavaScript module and put all the needed JavaScript
files into the same folder.

The folder structure could be like:

resources
META-INF
modules
ckeditor
js files...


The default folder of JavaScript modules is resources/META-INF/modules; in
the example above, the module name is ckeditor.

Regards,
Yunhua









On Mon, Aug 5, 2013 at 2:01 PM, Dimitris Zenios
wrote:

> Hello everybody.I am trying to integrate tapestry 5.4 and ckeditor.
> Ckeditor loads all its dependencies asynchronously but not through
> require.js. How can i expose ckeditors folder for the to the client in
> order to let ckeditor.js load its resources from?
>
> Regards
> Dimitris Zenios
>


Re: Proposal for a new book: Mastering Apache Tapestry

2013-08-05 Thread Thiago H de Paula Figueiredo
On Mon, 05 Aug 2013 17:13:54 -0300, Thiago H de Paula Figueiredo  
 wrote:


* I thought about a cookbook section, but I'm not sure what people would  
find interesting.


* You may suggest by asking questions about Tapestry or how to implement  
something with it, even if it sounds preposterous.


For the two items above, I'd love to hear questions like "What part of  
Tapestry does X?" or "How can I implement X in Tapestry?", where X is not  
vague ('charts' vague, 'JFreeChart' non-vague) and the answer is not  
easily found when Googling it. I want to write a book that provides  
information not yet found elsewhere.


--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Ckeditor and tapestry 5.4

2013-08-05 Thread Thiago H de Paula Figueiredo
On Mon, 05 Aug 2013 15:01:39 -0300, Dimitris Zenios  
 wrote:



Hello everybody.I am trying to integrate tapestry 5.4 and ckeditor.
Ckeditor loads all its dependencies asynchronously but not through
require.js. How can i expose ckeditors folder for the to the client in
order to let ckeditor.js load its resources from?


Just put all the CKEditor .js files in the same folder in the classpath,  
use relative paths and it'll probably work.


--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Proposal for a new book: Mastering Apache Tapestry

2013-08-05 Thread Thiago H de Paula Figueiredo

Hi!

I've said a handful of times in this mailing list that I'd love to write a  
book on Tapestry. With crowdsourcing sites like Kickstarter and Indiegogo,  
I can check whether there's demand enough for the book before writing. In  
addition, it seems I'll have the free time needed to start working  
seriously on it. (By the way, if you need Tapestry consulting or  
development, e-mail me!).


Igor already wrote a very nice book about Tapestry, more targeted at  
people trying to learn the framework, so I won't replicate his effort.  
Instead, I'm thinking at complementing it. I'm thinking of the following  
question that may be asked by someone who finished Igor's book: now that I  
can write webapps in Tapestry, what else could I learn to have a deep,  
even internal knowledge of it, so I know what to look to implement more  
advanced, specific stuff that uses the framework flexibility to suit my  
needs?


I've written a proposal of the table of contents at  
http://www.arsmachina.com.br/masteringApacheTapestry.html. Feel free to  
suggest anything about it.


Some notes:

* It may look wrong in the beggining, but the book starts with a deep look  
at Tapestry-IoC. Everything else in the book will need T-IoC. And, if you  
really want to dive deep into Tapestry-core, you'll need to know T-IoC  
very well.


* There will be lots of code examples. Ideally, one for anything which  
could be better exemplified with code. They'll be freely downloadable,  
probably with their sources in GitHub.


* I thought about a cookbook section, but I'm not sure what people would  
find interesting.


* You may suggest by asking questions about Tapestry or how to implement  
something with it, even if it sounds preposterous.


* At least for now, an A4-formatted (for better viewing of code examples),  
DRM-free PDF file will be only option available.


* I haven't defined the price yet, but it'll be in the 20 to 30 dollars  
range, probably in the middle.


* I'll just create the Indiegogo campaign if there's enough buzz in the  
mailing list. Kickstarter isn't an option because, as you may already  
know, I'm a Brazilian living in Brazil and Kickstarter only accepts  
campaigns from USA citizens.


What do you guys think? All feedback is welcome. :)

Cheers!

--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: beaneditform and kapcha

2013-08-05 Thread D.R.
Hi,

but it also works with a beaneditform:

...





What you see?





...

@Component(id = "beanEditForm", parameters = {"object=beanToEdit",
"add=kaptcha"})
private BeanEditForm _editFormComponent;


Kind regards
David


Am 05.08.2013 18:45, schrieb Thiago H de Paula Figueiredo:
> On Mon, 05 Aug 2013 12:53:48 -0300, Nikola Vulovic
>  wrote:
>
>> How to add kapcha to beaneditform?
>
> Use BeanEditor instead.
>


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Ckeditor and tapestry 5.4

2013-08-05 Thread Dimitris Zenios
Hello everybody.I am trying to integrate tapestry 5.4 and ckeditor.
Ckeditor loads all its dependencies asynchronously but not through
require.js. How can i expose ckeditors folder for the to the client in
order to let ckeditor.js load its resources from?

Regards
Dimitris Zenios


Re: beaneditform and kapcha

2013-08-05 Thread Thiago H de Paula Figueiredo
On Mon, 05 Aug 2013 12:53:48 -0300, Nikola Vulovic   
wrote:



How to add kapcha to beaneditform?


Use BeanEditor instead.

--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



beaneditform and kapcha

2013-08-05 Thread Nikola Vulovic
How to add kapcha to beaneditform?

-- 
Pozdrav Nikola Vulovic