Re: how to specify to say more than one java file to share same html

2009-06-15 Thread kk4Nabble

Hi all,
My problem is I have CalendarHome.java which extends Calendar.java.
But i want both the files to share Calendar.html
How do i do it?

basically when it sees CalendarHome.java it ll search for CalendarHome.html,
i wan it look for Calendar.html instead of CalendarHome.html.
Please suggest.

Thanks


kk4Nabble wrote:
> 
> Hi all.
> 
> I have 2 java pages and i want it to refer same html for both java files.
> How do I do it in .application file.
> 
>  
>
> 
> The above does not work.
> By the way am using tapestry 4.1
> Please help.
> 
> Thanks in advance
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-specify-2-java-file-to-same-html-tp24035378p24048762.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: Event bubbling question

2009-06-15 Thread Robert Zeigler

Two comments:

1) onSuccessFromComponent, in theory, should work, but IFF "Component"  
doesn't also have its own onSuccess handler.
2) Normally, what I do in these situations, is to encapsulate the  
events with a custom event.  That hides the details of component from  
users of the component, so even if, eg, form component events change,  
or if I change the guts of the component to operate differently, I can  
still keep that "public" contract via the custom event.


Robert

On Jun 15, 2009, at 6/156:07 PM , Piero Sartini wrote:


Hello!

I have a problem with the event bubbling stuff. A form is located  
inside a
component which in turn is embedded inside my page. Now I am trying  
to process

the form in my page.

There is more than one component inside the page so there is the  
need to
specify the component who triggers the event. Without this,  
everything works

fine. (example: onSuccess() works, onSuccessFromComponent() and
onSuccessFromForm() do not work.)

I would have expected that onSuccessFromComponent() works in this  
scenario.


Is this something that should work, do I miss something or is it a  
bug?


Piero

---8 
<--

public abstract class Page {

/** This works fine!! */
void onSuccess() {
}

/** these fail */
public void onSuccessFromMyComponentId() {
}
public void onSuccessFromMyFormId() {
// this was just a test... normally we don't know the ID
}
}

Page.tml:



MyComponent.tml:
---8 
<--



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



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



IE rendering the "any" component informal parameters on a XHR encoded....

2009-06-15 Thread Tom Zurkan
I have a form tied to a zone.  On FF everything works fine.  On initial 
render in IE everything renders fine.  However, after a form submit, the 
returned block which contains some anchors of type "any", renders its 
informal parameters encoded.


so, it looks like this before submission:

Comment


and looks like this after submission:

Comment


it replaces my single quotes with '.  I assume it is in the partial 
render that this is happening.  I am just asking if anyone has seen 
anything like this before.  Or has any idea how to solve the problem.


IE complains that there are syntax errors

Thanks!

Tom Zurkan

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



Event bubbling question

2009-06-15 Thread Piero Sartini
Hello!

I have a problem with the event bubbling stuff. A form is located inside a 
component which in turn is embedded inside my page. Now I am trying to process 
the form in my page.

There is more than one component inside the page so there is the need to 
specify the component who triggers the event. Without this, everything works 
fine. (example: onSuccess() works, onSuccessFromComponent() and 
onSuccessFromForm() do not work.)

I would have expected that onSuccessFromComponent() works in this scenario.

Is this something that should work, do I miss something or is it a bug?

Piero

---8<--
public abstract class Page {

/** This works fine!! */
void onSuccess() {
}

/** these fail */
public void onSuccessFromMyComponentId() {
}
public void onSuccessFromMyFormId() {
// this was just a test... normally we don't know the ID
}
}

Page.tml:



MyComponent.tml:


Re: best book for T5

2009-06-15 Thread Antonio Fernández


Viva ! (+1)


Antonio


haipeng du escribió:

+1. For sure, many people have second language. After English or German
version is ready, we can translate to different languages. To make tapestry
to be popular, we must support it. I love tapestry.

On Mon, Jun 15, 2009 at 10:01 AM, Craig St. Jean wrote:

  

+1

On Mon, Jun 15, 2009 at 11:14 AM, Paulo Marcelo 

wrote:
  
+1


Paulo Marcelo

He who asks is a fool for five minutes, but he who does not ask
remains a fool forever.

Chinese Proverb


2009/6/15 Thiago H. de Paula Figueiredo 

  

+1. The more books, the better. :)

--
Thiago

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







  



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



Dynamic Select with Textarea.

2009-06-15 Thread b...@umd

Here is my problem : I created a DynamicSelect like this 
http://lombok.demon.co.uk/tapestry5Demo/test/components/dynamicselectdemo1source
one  which allow me to select a "Category" and then an "Application" from my
database.

Here is an extract of my tml :


Browse Category :
Select Application :








Now I would like to add the selected "Application" in a TextArea each time I
click on my submit button. Then the goal is to display this TextArea so that
a user can remove an applications of this textarea if finally he did not
want it.

Until now I managed to display it through a condition test like this :
  
 You have selected ${application}


However, I do not manage to store this value in my textarea. I mean, my
textarea do not read the content of its value when I click on my submit
button even if I put my textarea in a zone or a triggerfragment. Here is an
example :

file.java
void onSuccess() {  
System.out.println("onsuccess :" +application); //this display correctly
the value in my terminal
added=application;}

file.tml

Show currently selected :

  


Can someone help me ?
Thanks








-- 
View this message in context: 
http://www.nabble.com/Dynamic-Select-with-Textarea.-tp24042082p24042082.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



[Announce] Tapestry XPath project - v1.0.0 released

2009-06-15 Thread Paul Field
I'd like to announce the first stable release of the Tapestry-XPath project
at Tapestry360:

https://tapestry.formos.com/projects/tapestry-xpath/
  
Tapestry XPath allows you to use XPath expressions to query the Tapestry 
DOM, which is a particularly useful thing to do in tests of components and 
pages. 

  
** For non-Maven people:
http://tapestry.formos.com/maven-repository/com/formos/tapestry/tapestry-xpa
th/1.0.0/


** For Maven people:


tapestry
http://tapestry.formos.com/maven-repository



com.formos.tapestry
tapestry-xpath
1.0.0



- Paul

---
Paul Field
http://creakingcogs.blogspot.com/


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



T5.1: Custom Acegi 403 error page breaks page/actionlinks

2009-06-15 Thread immutability

Guys, I'm facing another strange issue with Tapestry 5.1.0.5. I'm using
Tapestry-Acegi, but I guess I would get the same behavior with
Spring-Security. I have configured a custom error page for the 403 forbidden
error in my AppModule, i.e.:
configuration.add("acegi.accessDenied.url", "/AccessDenied");

So far so good. When I manually open a secured page while logged in as a
user without the required privilege, instead of getting the plain white 403
page, I'll get a nice Access Denied page with explanation, etc. But while a
page with address /AccessDenied is displayed (i.e.
http://127.0.0.1/AccessDenied), the browser displays the URL of the original
forbidden page (e.g. http://127.0.0.1/User/Create). 

This would actually be quite nice, but I think it is causing that both
pagelinks and actionlinks will break, as if Tapestry failed to generate
proper target URLs for them. Imagine I have a "logout" action link within my
Border component - the Border component is also used on the custom
AccessDenied page to get the consistent look with the rest of the webapp.
Normally, the URL that is generated for this action link will depend on the
page I'm viewing, so for example:
http://127.0.0.1/index.border.logout (on the /Index page)
http://127.0.0.1/user/create.border.logout (on the /User/Create page)

But if I try to access the Create User page without the privileges and get
the access denied page, the actionlink's target URL will look like this:
http://127.0.0.1/user/accessdenied.border.logout (on the /User/Create page)

Obviously, this won't work, because there's no AccessDenied page under /user
- it is only in the root of the webapp. Similarly, a pagelink targeting
language configuration page, declared as:


doesn't work, because it generates this target URL:
http://127.0.0.1/user/language

instead of the correct form:
http://127.0.0.1/language

Is this a bug within Tapestry related to server side request forwarding or
am I missing something? I'm getting the same behavior in Jetty and in Tomcat
6.0.18.

Thanks,
Rado
-- 
View this message in context: 
http://www.nabble.com/T5.1%3A-Custom-Acegi-403-error-page-breaks-page-actionlinks-tp24040558p24040558.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: Switch from Prototype to jQuery?

2009-06-15 Thread Thiago H. de Paula Figueiredo
Em Mon, 15 Jun 2009 13:06:14 -0300, Piero Sartini   
escreveu:


Maybe we  would see way more components for tapestry if they could be  
build with jquery.


They can be built with jQuery. I even made one that I plan to opensource  
later. I don't know why other people haven't done components that build on  
jQuery.


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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



Re: best book for T5

2009-06-15 Thread haipeng du
+1. For sure, many people have second language. After English or German
version is ready, we can translate to different languages. To make tapestry
to be popular, we must support it. I love tapestry.

On Mon, Jun 15, 2009 at 10:01 AM, Craig St. Jean wrote:

> +1
>
> On Mon, Jun 15, 2009 at 11:14 AM, Paulo Marcelo  >wrote:
>
> > +1
> >
> > Paulo Marcelo
> >
> > He who asks is a fool for five minutes, but he who does not ask
> > remains a fool forever.
> >
> > Chinese Proverb
> >
> >
> > 2009/6/15 Thiago H. de Paula Figueiredo 
> >
> > > +1. The more books, the better. :)
> > >
> > > --
> > > Thiago
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > >
> > >
> >
>



-- 
Haipeng Du
Salt Lake City


Re: Switch from Prototype to jQuery?

2009-06-15 Thread Piero Sartini
Am Montag, 15. Juni 2009 17:47:32 schrieb Norman Franke:
> FWIW, I'm quite happy with Prototype. I'd vote we use developer cycles
> for something more productive than dealing with library preferences.

The good news first: Tapestry is opensource. That's why users who see the need 
of a jQuery integration are able to jump in and do the work. 

The bad news: I don't think they will spend their time on features that are 
not on their personal "need" list.

> They are largely functionally equivalent and prototype support is
> already done.

At the core you are able to do the same things. But looking at the available 
plugins and third party integrations jQuery is light years ahead. Maybe we 
would see way more components for tapestry if they could be build with jquery.

Piero


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



Re: best book for T5

2009-06-15 Thread Craig St. Jean
+1

On Mon, Jun 15, 2009 at 11:14 AM, Paulo Marcelo wrote:

> +1
>
> Paulo Marcelo
>
> He who asks is a fool for five minutes, but he who does not ask
> remains a fool forever.
>
> Chinese Proverb
>
>
> 2009/6/15 Thiago H. de Paula Figueiredo 
>
> > +1. The more books, the better. :)
> >
> > --
> > Thiago
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>


Re: Switch from Prototype to jQuery?

2009-06-15 Thread Thiago H. de Paula Figueiredo
On Mon, Jun 15, 2009 at 12:47 PM, Norman Franke wrote:
> FWIW, I'm quite happy with Prototype.

Me too!

> I'd vote we use developer cycles for
> something more productive than dealing with library preferences. They are
> largely functionally equivalent and prototype support is already done.

The point here is that the people who want or need Tapestry without
using Prototype are the ones that will write and contribute the code,
not the (current) committers. Open source as its best: the people who
want some feature in a project, instead of just asking for it, will
develop and contribute it. :)

-- 
Thiago

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



Re: Hooks for code on every page request

2009-06-15 Thread Olle Hallin
...or just the sample timing filter that the quickstart archetype creates!

Olle


2009/6/15 Thiago H. de Paula Figueiredo 

> On Mon, Jun 15, 2009 at 11:06 AM, Jason Lotz wrote:
> > Thanks, I think the request filter is what I was looking for.
>
> You're welcome!
> You can use the Tapestry Access Logger
> (http://www.arsmachina.com.br/project/tapestryaccesslogger) for a
> request filter example.
>
> --
> Thiago
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Olle Hallin
Senior Java Developer and Architect
olle.hal...@crisp.se
www.crisp.se


Re: Switch from Prototype to jQuery?

2009-06-15 Thread Norman Franke
FWIW, I'm quite happy with Prototype. I'd vote we use developer cycles  
for something more productive than dealing with library preferences.  
They are largely functionally equivalent and prototype support is  
already done.


Norman Franke
Answering Service for Directors, Inc.
www.myasd.com



On Jun 12, 2009, at 3:50 PM, Blower, Andy wrote:

That sounds fine, I would be more bothered if it was to take up a  
massive amount of Howards' time meaning that he had less time to  
push Tapestry forward in other areas.


Look forward to seeing what you come up with and I hope you enjoy  
the challenge!



-Original Message-
From: Onno Scheffers [mailto:o...@piraya.nl]
Sent: 12 June 2009 10:15
To: Tapestry users
Subject: Re: Switch from Prototype to jQuery?

On Thu, Jun 11, 2009 at 11:37 PM, Blower, Andy
wrote:


I'd just like to echo everything Robert said in this message.



Hi Andy,

don't worry. I've read Roberts message and his concerns are valid.  
I'm

aware
this whole thing won't be easy but it's not impossible.
Besides, if we keep ignoring the issue entirely, nothing happens. I  
can

at
least try and see what I can come up with. Whether it works or not or
whether it ever ends up in the Tapestry production release doesn't
really
matter to me. It's an interesting project to dive into in my spare  
time

:o)


regards,

Onno



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





[T5] Extending Tapestry Fields

2009-06-15 Thread Onno Scheffers
I have a TextField component that takes quite a bit of configuration
(several validators are assigned, maxlength is set and the localized label
comes from the database). It doesn't feel right to have to copy the entire
configuration into each page where I use that field.

So I'd like to create my own custom component that does all the
configuration in one place, based on the existing Tapestry TextField.
SubClassing and overriding is not possible since most properties and methods
are either private or package-visible, most are even final).

According to Jira issue 173 (https://issues.apache.org/jira/browse/TAP5-173),
we should use composition instead of subclassing. I'm wondering how to do
that for a TextField that is being referenced from a Label component?


regards,

Onno


Re: best book for T5

2009-06-15 Thread Paulo Marcelo
+1

Paulo Marcelo

He who asks is a fool for five minutes, but he who does not ask
remains a fool forever.

Chinese Proverb


2009/6/15 Thiago H. de Paula Figueiredo 

> +1. The more books, the better. :)
>
> --
> Thiago
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: [T5] TapestryIoC Registry Interop with other Servlets

2009-06-15 Thread P . Stavrinides
Nice!

A dumb question: How do I integrate the library with Tapestry? 


regards,
Peter

- Original Message -
From: "Thiago H. de Paula Figueiredo" 
To: "Tapestry users" 
Sent: Wednesday, 20 May, 2009 03:07:12 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: [T5] TapestryIoC Registry Interop with other Servlets

Em Tue, 19 May 2009 21:03:42 -0300, César Lesc   
escreveu:

> Thanks a lot Thiago!

You're welcome

> That i  did was to integrate BlazeDS (Flex) with Tapestry5, and it was
> pretty easy, if someone is interested, there is a little project in
> google code ( http://code.google.com/p/guice-blazeds/ ) that did the
> most (if not all) of the work.

Tapestry-IoC had some features inspired by Guice. :) They're more similar  
between them than they are similar with Spring.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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


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



Re: Hooks for code on every page request

2009-06-15 Thread Thiago H. de Paula Figueiredo
On Mon, Jun 15, 2009 at 11:06 AM, Jason Lotz wrote:
> Thanks, I think the request filter is what I was looking for.

You're welcome!
You can use the Tapestry Access Logger
(http://www.arsmachina.com.br/project/tapestryaccesslogger) for a
request filter example.

-- 
Thiago

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



how to specify 2 java file to same html

2009-06-15 Thread kk4Nabble

Hi all.

I have 2 java pages and i want it to refer same html for both java files.
How do I do it in .application file.

 
   

The above does not work.
By the way am using tapestry 4.1
Please help.

Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/how-to-specify-2-java-file-to-same-html-tp24035378p24035378.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: Hooks for code on every page request

2009-06-15 Thread Jason Lotz
Thanks, I think the request filter is what I was looking for.

Jason

On Sun, Jun 14, 2009 at 11:26 AM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> Em Sun, 14 Jun 2009 02:12:34 -0300, Angelo Chen <
> angelochen...@yahoo.com.hk> escreveu:
>
>  maybe dispatcher? you can find a related articles in the wiki page for t5.
>>
>
> Or a request filter. A dispatcher is more suited for logic that needs page
> redirection. For example, I implemented an access logging package
> implemented as a request filter.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Redirect from Exception Page (with Tomcat) in 5.1

2009-06-15 Thread P . Stavrinides
The way exceptions are dealt with in Tapestry is 'second to none!' ... one of 
the frameworks best features imho, see this page:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html 

There are many ways to handle exceptions, you choose whats best for you, what I 
am doing is using a base page with a single onException(Throwable e), which 
keeps my pages very clean, and ensures I don't rewrite error handling over and 
over.

cheers,
Peter

 



- Original Message -
From: "Moritz Gmelin" 
To: "Tapestry users" 
Sent: Monday, 15 June, 2009 14:53:53 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Redirect from Exception Page (with Tomcat) in 5.1

Hi,

I'd like to have all Exception of my Application handled by its  
special ExceptionReport in the way that on the production system the  
ExceptionReport directly redirects the user to the start page.
This works well using Jetty as AppServer and checking for the error  
reason in beginRender and then sending a redirect.
Using Tomcat this fails and brings a Tomcat 500 error message

java.lang.RuntimeException: Page ExceptionReport did not generate any  
markup when rendered. This could be because its template file could  
not be located, or because a render phase method in the page prevented  
rendering.
The Error did not appear in T5.0.18.

So how can I realize such a redirect from the ExceptionReport page  
(which does not get through onActivate) using T5.1 and Tomcat?

Thanks

Moritz


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



Re: T5: validation without instant popups

2009-06-15 Thread P . Stavrinides
Sorry to poach on this thread, but is there a way to reconfigure the client 
side validation model rather than disable it entirely? i.e.: to customize the 
validation trigger event (onClick,onBlur,onFocus,onKeyUp etc), or instead of 
per element validation, validate before a submit like this for example:


To: "Tapestry users" 
Sent: Tuesday, 2 June, 2009 17:05:10 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: T5: validation without instant popups

On Tue, Jun 2, 2009 at 11:02 AM,   wrote:
>  Hi,

Hi!

>  Is it possible to perform the validation in forms without getting
> the black pop-ups?

You can disable the client-side validation using the clientValidation
parameter of the Form or BeanEditForm components. The validation will
still be done server-side.

-- 
Thiago

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


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



Re: best book for T5

2009-06-15 Thread Thiago H. de Paula Figueiredo
+1. The more books, the better. :)

-- 
Thiago

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



Re: Can I disable include of prototype in tapestry page?

2009-06-15 Thread Peter Stavrinides
Hi Thiago,

> That's a very difficult feature to have, as everything in Tapestry that  
> needs Javascript uses Prototype. That's an awful lot of code to be  
> reimplemented.

Looking through recent posts on the list, it looks like this is now being 
looked at, and I am very glad for this, because it makes sense to me to 
separate 'libraries' from core logic. Components requiring AJAX should source 
in what they require instead of tight coupling with the framework. Even 
'Prototype' should be seen as a library in order to make Tapestry more flexible 
and agile so far as AJAX development is concerned. 

Peter



- Original Message -
From: "Thiago H. de Paula Figueiredo" 
To: "Tapestry users" 
Sent: Tuesday, 9 June, 2009 04:15:45 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: Can I disable include of prototype in tapestry page?

Em Mon, 08 Jun 2009 20:32:28 -0300, Angelo Chen  
 escreveu:

> Hi,

Hi!

> nice to have a option to totally disable the inclusion of Prototype.

That's a very difficult feature to have, as everything in Tapestry that  
needs Javascript uses Prototype. That's an awful lot of code to be  
reimplemented.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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


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



Re: best book for T5

2009-06-15 Thread Erick Erickson
+1


On Mon, Jun 15, 2009 at 12:51 PM, Borut Bolčina wrote:

> +1
>
> Thanks
>
> 2009/6/15 Igor Drobiazko 
>
> > Well, this community can help to make the publisher's decision easier. If
> > somebody of you is interested in a book translation, just comment here. I
> > will forward this thread to the publisher. The more interests available
> the
> > more likely they will do it. So give the publisher the impression how big
> > is
> > the market for the translated book.
> >
> > P.S: Cover is really awful. I love it.
> >
> > On Fri, Jun 12, 2009 at 10:03 PM, Blower, Andy
> > wrote:
> >
> > > I meant Igor's book translated to English Thiago... there must be a
> > bigger
> > > market for an English version IMO, so his publishers would be crazy not
> > to
> > > do one surely, and I hope to see it soon. :-D
> > >
> > > Not that I wouldn't welcome another of course.
> > >
> > > > -Original Message-
> > > > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
> > > > Sent: 12 June 2009 21:00
> > > > To: Tapestry users
> > > > Subject: Re: best book for T5
> > > >
> > > > Em Fri, 12 Jun 2009 16:52:46 -0300, Blower, Andy
> > > >  escreveu:
> > > >
> > > > > I can't believe that there wouldn't be an even bigger market for a
> > > > well
> > > > > written T5 book in English, so I hope to see it soon!
> > > >
> > > > I would love to be a co-author in a Tapestry 5 book, but I don't have
> > > > the
> > > > resources nor I want to do this alone.
> > > >
> > > > > Love that cover, awesome.
> > > >
> > > > One of the most beautiful ones I've seen in a technical book. :)
> > > >
> > > > --
> > > > Thiago H. de Paula Figueiredo
> > > > Independent Java consultant, developer, and instructor
> > > > http://www.arsmachina.com.br/thiago
> > > >
> > > > -
> > > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > > >
> > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > >
> > >
> >
> >
> > --
> > Best regards,
> >
> > Igor Drobiazko
> >
>


Redirect from Exception Page (with Tomcat) in 5.1

2009-06-15 Thread Moritz Gmelin

Hi,

I'd like to have all Exception of my Application handled by its  
special ExceptionReport in the way that on the production system the  
ExceptionReport directly redirects the user to the start page.
This works well using Jetty as AppServer and checking for the error  
reason in beginRender and then sending a redirect.

Using Tomcat this fails and brings a Tomcat 500 error message

java.lang.RuntimeException: Page ExceptionReport did not generate any  
markup when rendered. This could be because its template file could  
not be located, or because a render phase method in the page prevented  
rendering.

The Error did not appear in T5.0.18.

So how can I realize such a redirect from the ExceptionReport page  
(which does not get through onActivate) using T5.1 and Tomcat?


Thanks

Moritz



Re: best book for T5

2009-06-15 Thread Borut Bolčina
+1

Thanks

2009/6/15 Igor Drobiazko 

> Well, this community can help to make the publisher's decision easier. If
> somebody of you is interested in a book translation, just comment here. I
> will forward this thread to the publisher. The more interests available the
> more likely they will do it. So give the publisher the impression how big
> is
> the market for the translated book.
>
> P.S: Cover is really awful. I love it.
>
> On Fri, Jun 12, 2009 at 10:03 PM, Blower, Andy
> wrote:
>
> > I meant Igor's book translated to English Thiago... there must be a
> bigger
> > market for an English version IMO, so his publishers would be crazy not
> to
> > do one surely, and I hope to see it soon. :-D
> >
> > Not that I wouldn't welcome another of course.
> >
> > > -Original Message-
> > > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
> > > Sent: 12 June 2009 21:00
> > > To: Tapestry users
> > > Subject: Re: best book for T5
> > >
> > > Em Fri, 12 Jun 2009 16:52:46 -0300, Blower, Andy
> > >  escreveu:
> > >
> > > > I can't believe that there wouldn't be an even bigger market for a
> > > well
> > > > written T5 book in English, so I hope to see it soon!
> > >
> > > I would love to be a co-author in a Tapestry 5 book, but I don't have
> > > the
> > > resources nor I want to do this alone.
> > >
> > > > Love that cover, awesome.
> > >
> > > One of the most beautiful ones I've seen in a technical book. :)
> > >
> > > --
> > > Thiago H. de Paula Figueiredo
> > > Independent Java consultant, developer, and instructor
> > > http://www.arsmachina.com.br/thiago
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>
>
> --
> Best regards,
>
> Igor Drobiazko
>


Re: best book for T5

2009-06-15 Thread Inge Solvoll
Yes!

On Mon, Jun 15, 2009 at 11:41 AM, Newham, Cameron wrote:

> A book in English would be great.
>
>
> -Original Message-
> From: Igor Drobiazko [mailto:igor.drobia...@gmail.com]
> Sent: 15 June 2009 07:34
> To: Tapestry users
> Subject: Re: best book for T5
>
> Well, this community can help to make the publisher's decision easier.
> If
> somebody of you is interested in a book translation, just comment here.
> I
> will forward this thread to the publisher. The more interests available
> the
> more likely they will do it. So give the publisher the impression how
> big is
> the market for the translated book.
>
> P.S: Cover is really awful. I love it.
>
> On Fri, Jun 12, 2009 at 10:03 PM, Blower, Andy
> wrote:
>
> > I meant Igor's book translated to English Thiago... there must be a
> bigger
> > market for an English version IMO, so his publishers would be crazy
> not to
> > do one surely, and I hope to see it soon. :-D
> >
> > Not that I wouldn't welcome another of course.
> >
> > > -Original Message-
> > > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
> > > Sent: 12 June 2009 21:00
> > > To: Tapestry users
> > > Subject: Re: best book for T5
> > >
> > > Em Fri, 12 Jun 2009 16:52:46 -0300, Blower, Andy
> > >  escreveu:
> > >
> > > > I can't believe that there wouldn't be an even bigger market for a
> > > well
> > > > written T5 book in English, so I hope to see it soon!
> > >
> > > I would love to be a co-author in a Tapestry 5 book, but I don't
> have
> > > the
> > > resources nor I want to do this alone.
> > >
> > > > Love that cover, awesome.
> > >
> > > One of the most beautiful ones I've seen in a technical book. :)
> > >
> > > --
> > > Thiago H. de Paula Figueiredo
> > > Independent Java consultant, developer, and instructor
> > > http://www.arsmachina.com.br/thiago
> > >
> > >
> -
> > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>
>
> --
> Best regards,
>
> Igor Drobiazko
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Problems with Tapestry, Spring & jax-ws integration

2009-06-15 Thread Peter Stavrinides
> Has anyone successfully created a project using Tapestry and Spring for
> jax-ws web services? 

I would be interested in giving this a try! If you get this working could you 
document it, perhaps in a wiki article?

Cheers,
Peter

- Original Message -
From: "Otho" 
To: "Tapestry users" 
Sent: Thursday, 11 June, 2009 12:06:50 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: Problems with Tapestry, Spring & jax-ws integration

Is there any obligation to use hibernate 3.2.6 instead of 3.3.1?
I'm not 100% sure, but the problem might be in annotations 3.4 being not
entirely compatible with hibernate core 3.2. In the stacktrace you posted,
this:

org.hibernate.validator.event.ValidateEventListener cannot be cast to
org.hibernate.event.PreInsertEventListener

is a pointer in that direction.



2009/6/11 rsdev 

>
> Thanks, I have just tried that and it still gives me the same error. The
> dependencies I have are:-
>
> 
>
>com.sun.xml.bind
>jaxb-impl
>2.1.9
>provided
>
>
>org.apache.tapestry
>tapestry-core
>${tapestry-release-version}
>
>
>org.apache.tapestry
>tapestry-hibernate-core
>${tapestry-release-version}
>
>
>org.apache.tapestry
>tapestry-hibernate
>${tapestry-release-version}
>compile
>
>
>javax.servlet
>servlet-api
>2.5
>compile
>
>
>junit
>junit
>4.6
>test
>
>
>hsqldb
>hsqldb
>1.8.0.7
>test
>
> 
>org.hibernate
> hibernate
>3.2.6.ga
>
> 
>org.hibernate
>hibernate-annotations
> 3.4.0.GA
>
>
>javax.persistence
>persistence-api
>1.0
>
>
>mysql
>mysql-connector-java
>5.1.6
>compile
>
>
>org.mockito
>mockito-all
>1.7
>test
>
>
>log4j
>log4j
>1.2.15
>compile
>
>
>org.hamcrest
>hamcrest-all
>1.1
>test
>
>
>commons-collections
>commons-collections
>3.2.1
>compile
>
>
>org.springframework.ws
>spring-ws-core
>1.5.6
>
>
>org.springframework.ws
>spring-oxm
>1.5.6
>
>
>jdom
>jdom
>1.0
>
>
>com.sun.xml.messaging.saaj
>saaj-impl
>1.3.2
>runtime
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Problems-with-Tapestry%2C-Spring---jax-ws-integration-tp23965049p23977345.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

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



Re: t5: protecting data from public access

2009-06-15 Thread P . Stavrinides
Hi Angelo,

Using a Dispatcher (or Request filter) enables you to filter on every Request, 
so simply wire Tapestry's ApplicationStateManager to your Dispatcher and 
retrieve the appropriate ASO instance to check access for the requested page / 
resource:

public PageAccessController(ApplicationStateManager asm, etc...){
asm_ = asm;

...
}

@Override
public boolean service(Request request, Response response,...etc){
siteAccess = asm_.get(SiteAccess.class);

if(!siteAccess.isAuthenticated())
  redirectToLogin();


}

For an extranet it is better to deny access by default unless explicitly 
permissioned.

regards,
Peter

- Original Message -
From: "Onno Scheffers" 
To: "Tapestry users" 
Sent: Wednesday, 10 June, 2009 19:19:21 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: t5: protecting data from public access

>
> this is a good idea. which one is faster:
> returning the image as a stream or a direct link to a physical file in the
> file system?



The physical file is much faster.

It just gets a little troublesome to keep all files in sync if your
application has to be distributed over multiple servers: a file-upload will
need to be placed onto the filesystem of each and every server. You don't
have that problem when you put the files in a database.



regards,

Onno

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



Re: Netbeans 6.7 tapestry 5 plugin support

2009-06-15 Thread Piero Sartini
Very nice! Looking forward to give it a try.
Thanks for the work.

Piero


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



RE: best book for T5

2009-06-15 Thread Newham, Cameron
A book in English would be great.


-Original Message-
From: Igor Drobiazko [mailto:igor.drobia...@gmail.com] 
Sent: 15 June 2009 07:34
To: Tapestry users
Subject: Re: best book for T5

Well, this community can help to make the publisher's decision easier.
If
somebody of you is interested in a book translation, just comment here.
I
will forward this thread to the publisher. The more interests available
the
more likely they will do it. So give the publisher the impression how
big is
the market for the translated book.

P.S: Cover is really awful. I love it.

On Fri, Jun 12, 2009 at 10:03 PM, Blower, Andy
wrote:

> I meant Igor's book translated to English Thiago... there must be a
bigger
> market for an English version IMO, so his publishers would be crazy
not to
> do one surely, and I hope to see it soon. :-D
>
> Not that I wouldn't welcome another of course.
>
> > -Original Message-
> > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
> > Sent: 12 June 2009 21:00
> > To: Tapestry users
> > Subject: Re: best book for T5
> >
> > Em Fri, 12 Jun 2009 16:52:46 -0300, Blower, Andy
> >  escreveu:
> >
> > > I can't believe that there wouldn't be an even bigger market for a
> > well
> > > written T5 book in English, so I hope to see it soon!
> >
> > I would love to be a co-author in a Tapestry 5 book, but I don't
have
> > the
> > resources nor I want to do this alone.
> >
> > > Love that cover, awesome.
> >
> > One of the most beautiful ones I've seen in a technical book. :)
> >
> > --
> > Thiago H. de Paula Figueiredo
> > Independent Java consultant, developer, and instructor
> > http://www.arsmachina.com.br/thiago
> >
> >
-
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko

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



RE: best book for T5

2009-06-15 Thread Alexey Chmutov
+1

Thanks,
Alexey.


-Original Message-
From: Ivano Luberti [mailto:lube...@archicoop.it] 
Sent: Monday, June 15, 2009 11:23 AM
To: Tapestry users
Subject: Re: best book for T5

I'm also interested.
BTW I'm surprised this kind of books can be printed in a language other
then English

Peter Stavrinides ha scritto:
> Yes of course I am interested.
>
> Peter
>
>   

-- 
==
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==


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



t:zone inside t:formfragment

2009-06-15 Thread Borut Bolčina
Hi,

Is it at all possible to have a Zone inside FormFragment like this?




show block 2


show block 1






I am getting

Render queue error in SetupRender[account/SignupWizard:areacode]: The Area
Code component must be enclosed by a Form component when trying to switch
from block 2 to block 1. Switch to block 2 from block 1 works. I am using
5.0.18.

Regards,
Borut


Re: best book for T5

2009-06-15 Thread Onno Scheffers
I would buy an English version of your book instantly.

regards,

Onno

On Mon, Jun 15, 2009 at 8:33 AM, Igor Drobiazko wrote:

> Well, this community can help to make the publisher's decision easier. If
> somebody of you is interested in a book translation, just comment here. I
> will forward this thread to the publisher. The more interests available the
> more likely they will do it. So give the publisher the impression how big
> is
> the market for the translated book.
>
> P.S: Cover is really awful. I love it.
>
> On Fri, Jun 12, 2009 at 10:03 PM, Blower, Andy
> wrote:
>
> > I meant Igor's book translated to English Thiago... there must be a
> bigger
> > market for an English version IMO, so his publishers would be crazy not
> to
> > do one surely, and I hope to see it soon. :-D
> >
> > Not that I wouldn't welcome another of course.
> >
> > > -Original Message-
> > > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
> > > Sent: 12 June 2009 21:00
> > > To: Tapestry users
> > > Subject: Re: best book for T5
> > >
> > > Em Fri, 12 Jun 2009 16:52:46 -0300, Blower, Andy
> > >  escreveu:
> > >
> > > > I can't believe that there wouldn't be an even bigger market for a
> > > well
> > > > written T5 book in English, so I hope to see it soon!
> > >
> > > I would love to be a co-author in a Tapestry 5 book, but I don't have
> > > the
> > > resources nor I want to do this alone.
> > >
> > > > Love that cover, awesome.
> > >
> > > One of the most beautiful ones I've seen in a technical book. :)
> > >
> > > --
> > > Thiago H. de Paula Figueiredo
> > > Independent Java consultant, developer, and instructor
> > > http://www.arsmachina.com.br/thiago
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>
>
> --
> Best regards,
>
> Igor Drobiazko
>


Re: T5 enhancement: Redirecting from ComponentEventLinkEncoder.decodePageRenderRequest()

2009-06-15 Thread Massimo Lusetti
On Fri, Jun 12, 2009 at 10:23 PM, Blower,
Andy wrote:

> I recently moved authentication for our project in method advice for the 
> ComponentEventLinkEncoder method decodePageRenderRequest() because some other 
> method advice to the same method has some modified URL processing and it 
> saves duplicating it in an authentication dispatcher. In some situations this 
> method advice needs to redirect to a single sign on server rather than render 
> a page, so I have had to override the standard T5 PageRenderDispatcher to 
> allow this.
>
> Does anyone else think this is more generally useful and might be a good 
> enhancement to the standard T5 PageRenderDispatcher? Or is this a very 
> specific edge case? I'm tempted to raise a JIRA issue, but thought I'd test 
> the water first.
>
>
> The code uses an extension of EmptyEventContext called RedirectEventContext 
> to indicate a redirect should take place (bit of hack to avoid API change) 
> and looks like this:
>
> public boolean dispatch(Request request, Response response) throws IOException
> {
>                PageRenderRequestParameters parameters = 
> linkEncoder.decodePageRenderRequest(request);
>
>                if (parameters == null)  return false;
>
>                if (parameters.getActivationContext() instanceof 
> RedirectEventContext)           // New block
>                {
>                                
> response.sendRedirect(parameters.getLogicalPageName());
>                                return true;
>                }
>
>                componentRequestHandler.handlePageRender(parameters);
>
>                return true;
> }
>

Why not extend the pipeline of dispatchers to accomplish this?

I'm very interested in a totally T5 generally available solution to
access/authorization mechanism..

-- 
Massimo
http://meridio.blogspot.com

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



Re: more actionlink's context values in *.tml directly

2009-06-15 Thread DH
If 5.1, like context="[param1,param2]"
If 5.0, refer to list binding of t5component project.

DH
- Original Message - 
From: "Radek Terber" 
To: "Tapestry users" 
Sent: Monday, June 15, 2009 3:49 PM
Subject: more actionlink's context values in *.tml directly 


> Hi all.
> 
> Is there any way to put more than one context parameter (for actionlink,
> pagelink and similar components) directly into tml file (for example
> "param1" and "param2" to generate URL in form
> "http://urBase/param1/param2";, something like this:  t:id="" t:context="{param1,param2}" > ...   )  ?
> I can do it using ComponentResources's method "createEventLink"..., but
> I dont know how to do it directly in tml.
> 
> Thanks.
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
>

more actionlink's context values in *.tml directly

2009-06-15 Thread Radek Terber
Hi all.

Is there any way to put more than one context parameter (for actionlink,
pagelink and similar components) directly into tml file (for example
"param1" and "param2" to generate URL in form
"http://urBase/param1/param2";, something like this:  ...   )  ?
I can do it using ComponentResources's method "createEventLink"..., but
I dont know how to do it directly in tml.

Thanks.


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



Re: best book for T5

2009-06-15 Thread Ivano Luberti
I'm also interested.
BTW I'm surprised this kind of books can be printed in a language other
then English

Peter Stavrinides ha scritto:
> Yes of course I am interested.
>
> Peter
>
>   

-- 
==
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==


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



Re: best book for T5

2009-06-15 Thread DH
Waiting for it too.

DH

- Original Message - 
From: "Peter Stavrinides" 
Sent: Monday, June 15, 2009 2:59 PM
Subject: Re: best book for T5


> Yes of course I am interested.
> 
> Peter
> 
> -- 
> If you are not an intended recipient of this e-mail, please notify the 
> sender, delete it and do not read, act upon, print, disclose, copy, retain or 
> redistribute it. Please visit http://www.albourne.com/email.html for 
> important additional terms relating to this e-mail.
> 
> - Original Message -
> From: "Igor Drobiazko" >> Sent: Monday, 15 June, 2009 09:33:35 GMT +02:00 
> Athens, Beirut, Bucharest, Istanbul
> Subject: Re: best book for T5
> 
> Well, this community can help to make the publisher's decision easier. If
> somebody of you is interested in a book translation, just comment here. I
> will forward this thread to the publisher. The more interests available the
> more likely they will do it. So give the publisher the impression how big is
> the market for the translated book.
> 
> P.S: Cover is really awful. I love it.
> 
> On Fri, Jun 12, 2009 at 10:03 PM, Blower, Andy
> wrote:
> 
>> I meant Igor's book translated to English Thiago... there must be a bigger
>> market for an English version IMO, so his publishers would be crazy not to
>> do one surely, and I hope to see it soon. :-D
>>
>> Not that I wouldn't welcome another of course.
>>
>> > -Original Message-
>> > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
>> > Sent: 12 June 2009 21:00
>> > To: Tapestry users
>> > Subject: Re: best book for T5
>> >
>> > Em Fri, 12 Jun 2009 16:52:46 -0300, Blower, Andy
>> >  escreveu:
>> >
>> > > I can't believe that there wouldn't be an even bigger market for a
>> > well
>> > > written T5 book in English, so I hope to see it soon!
>> >
>> > I would love to be a co-author in a Tapestry 5 book, but I don't have
>> > the
>> > resources nor I want to do this alone.
>> >
>> > > Love that cover, awesome.
>> >
>> > One of the most beautiful ones I've seen in a technical book. :)
>> >
>> > --
>> > Thiago H. de Paula Figueiredo
>> > Independent Java consultant, developer, and instructor
>> > http://www.arsmachina.com.br/thiago
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> > For additional commands, e-mail: users-h...@tapestry.apache.org
>> >
>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
> 
> 
> -- 
> Best regards,
> 
> Igor Drobiazko
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
>

Netbeans 6.7 tapestry 5 plugin support

2009-06-15 Thread iberck

Hi I'm developing a netbeans plugin for tapestry 5 tested on windows xp
The supported features are:

Initial features:

* Create pages/components from wizard
* Code templates
* Actions
* tml files highlighting
* Live class reloading

Code templates

 For example, if you type [onaction + tab] in the java class template, the
editor will insert the template of "onaction" method

@OnEvent(component="ComponentName")
Object onActionFrom"ComponentName"() {
// TODO Add content
return null;
}

* Supported java class code templates
  o pagelifecycle
  o onpageloaded
  o onpageattached
  o onpagedetached
  o property
  o aso
  o injectpage
  o log
  o asset
  o ontranslator
  o rendercomponent
  o setuprender
  o beginrender
  o beforerenderbody
  o afterrenderbody
  o afterrendertemplate
  o afterrender
  o cleanuprender
  o formevents
  o onsuccess
  o onaction
  o onexception
  o includecss
  o includejs
  o component
  o inject
  o oncontext
  o onactivate
  o onpassivate
  o onvalidate
  o onevent
* Supported tml code templates
  o palette
  o linksubmit
  o linksubmithtml
  o radiogroup
  o radiogrouphtml
  o passwordfield
  o passwordfieldhtml
  o errors
  o errorshtml
  o formfragment
  o pagelink
  o pagelinkhtml
  o actionlink
  o actionlinkhtml
  o form
  o formhtml
  o submit
  o submithtml
  o select
  o selecthtml
  o tmlfile
  o renderobject
  o renderobjecthtml
  o label
  o labelhtml
  o eventlink
  o eventlinkhtml
  o beandisplay
  o beandisplayhtml
  o textarea
  o textareahtml
  o if
  o ifhtml
  o ifelse
  o datefield
  o datefieldhtml
  o output
  o outputhtml
  o beaneditform
  o beaneditformhtml
  o delegate
  o loop
  o loophtml
  o grid
  o gridhtml
  o textfield
  o textfieldhtml
  o checkbox
  o checkboxhtml
  o radio
* Supported properties code templates

Actions

* You can switch between template/class [Ctrl + Alt + S]
* If you are in properties file you can switch to page [Ctrl + Alt + S]
* As part of the Netbeans you can use [Ctrl + Shift + 1] to select the
file in the project
* You can go to properties file from page or component [Ctrl + Alt + P]
* You can create the .properties file if it does not exists
* Switch supports pages and components
* Switch supports nested pages and components

Live class reloading

As a part of Alex Kotchnev's work you can follow the blog instructions:
http://www.troymaxventures.com/2009/05/rad-w-tapestry-5-netbeans-67-maven-and.html
 

Feel free to download from:
https://nbtapestrysupport.dev.java.net/servlets/ProjectDocumentList

Regards

-- 
View this message in context: 
http://www.nabble.com/Netbeans-6.7-tapestry-5-plugin-support-tp24029691p24029691.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: best book for T5

2009-06-15 Thread Peter Stavrinides
Yes of course I am interested.

Peter

-- 
If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Please visit http://www.albourne.com/email.html for important 
additional terms relating to this e-mail.

- Original Message -
From: "Igor Drobiazko" 
To: "Tapestry users" 
Sent: Monday, 15 June, 2009 09:33:35 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: best book for T5

Well, this community can help to make the publisher's decision easier. If
somebody of you is interested in a book translation, just comment here. I
will forward this thread to the publisher. The more interests available the
more likely they will do it. So give the publisher the impression how big is
the market for the translated book.

P.S: Cover is really awful. I love it.

On Fri, Jun 12, 2009 at 10:03 PM, Blower, Andy
wrote:

> I meant Igor's book translated to English Thiago... there must be a bigger
> market for an English version IMO, so his publishers would be crazy not to
> do one surely, and I hope to see it soon. :-D
>
> Not that I wouldn't welcome another of course.
>
> > -Original Message-
> > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
> > Sent: 12 June 2009 21:00
> > To: Tapestry users
> > Subject: Re: best book for T5
> >
> > Em Fri, 12 Jun 2009 16:52:46 -0300, Blower, Andy
> >  escreveu:
> >
> > > I can't believe that there wouldn't be an even bigger market for a
> > well
> > > written T5 book in English, so I hope to see it soon!
> >
> > I would love to be a co-author in a Tapestry 5 book, but I don't have
> > the
> > resources nor I want to do this alone.
> >
> > > Love that cover, awesome.
> >
> > One of the most beautiful ones I've seen in a technical book. :)
> >
> > --
> > Thiago H. de Paula Figueiredo
> > Independent Java consultant, developer, and instructor
> > http://www.arsmachina.com.br/thiago
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko

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