Re: It's payback time!

2010-12-18 Thread Antonio Fernández


Hi Howard !

My short comment is already posted. ;-)


Best Regards,
Antonio


El 17/12/2010 23:39, Howard Lewis Ship escribió:

As you are all aware, Tapestry is an open source project, a labor of love
for the committers. The Tapestry committers and contributors work quite hard
to create the code, fix the bugs, add new features, write documentation, and
provide free support on the mailing list. It's not easy, and you'd be amazed
at just how much work it can be.

What we ask in return is simple: a little bit of support in exchange for our
efforts.

That can take many forms; one opportunity is right here on JavaLobby in a
thread discussing the new 5.2 release:

http://java.dzone.com/articles/announcing-tapestry-52

If you value Tapestry and the vast amount of time and effort the Tapestry
team has provided to you, then you should take a few minutes to write a
short comment in the discussion thread about why you like Tapestry. Please
try to do so briefly, concretely, and without bashing other frameworks. Good
grammar helps as well!




--
Antonio Miguel Fernández Rodríguez
Jaraxa Software, SL
Software analyst
www.jaraxa.com


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



Re: dynamic component id?

2010-12-03 Thread Antonio Fernández

Hi !

You could try with ...

t:loop
t:calendar.timeSlot t:id=myTimeSlot /
/t:loop

( TimeSlot.tml )

p id=${myClientId} /

...this clientId property is generated in the Java.Side with the following
method ( at SetupRender )

( TimeSlot.java  )

@Property
 private String myClientId;

@Inject
private ComponentResources componentResources;

@Inject
private RenderSupport renderSupport;

@SetupRender
void setupRender() {
myClientId = renderSupport.allocateClientId(componentResources);
}

... and you will have a sequence of DOM IDs generated : myTimeSlot_1, 
myTimeSlot_2, 


That´s all ,

Best Regards,

--
Antonio Miguel Fernández Rodríguez
Jaraxa Software, SL
Administrator, Software analyst
Cel. +34 607 78 86 85
www.jaraxa.com



El 03/12/2010 12:52, Joost Schouten (ml) escribió:
 It sounds like you are confusing the t:id with the html dom id. I 
think you are looking for:


t:container 
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_1_0.xsd;

t:loop source=startCals value=currentStartCal
p t:id=yourComponentId id=${index} t:type=calendar/timeSlot/
/t:loop
/t:container

Cheers,
Joost



On 3/12/10 12:54 PM, Christian Koller wrote:

I have the following template:

t:container 
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_1_0.xsd;

t:loop source=startCals value=currentStartCal
p t:id=prop:index t:type=calendar/timeSlot/
/t:loop
/t:container

But Tapestry calls out:
Component id 'prop:index' is not valid; component ids must be valid 
Java identifiers: start with a letter, and consist of letters, 
numbers and underscores.


Is it not possible to use a property as id?

If I use a literal as the id, then it works, but then all the 
generated timeSlot components within the loop will have the same id.
If I use afterwards the persist annotation within the timeSlot 
component all the generated timeSlots share this session value 
because the id is the same.


Any ideas how to solve this?
Thank you
chris
-
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



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



Re: T5.1 +tapestry-googleanalytics - Get the current page classname from inside a MarkupRendererFilter.

2010-11-23 Thread Antonio Fernández


El 22/11/2010 20:11, Igor Drobiazko escribió:

In 5.2 there is a new method in RequestGlobals named getActivePageName().

See here:

http://tapestry.apache.org/tapestry5.2-dev/apidocs/org/apache/tapestry5/services/RequestGlobals.html#getActivePageName%28%29


It works !!  I upgraded from 5.1.0.5 to 5.2.4-beta with no problems.
Thanks Igor,

Best RE
Antonio



2010/11/22 Antonio Fernándezamiguel.fernan...@gmail.com


Hi all, Greetings from Málaga :) !!!

- Congratulations for the new Layout of the Web Site.

- Thanks for this really active/useful mailing list, I founded a lot of
solutions
and interesting news about 3rd Libraries, upgradings and books ( here we
continue
waiting the english translation of the Igor´s Book :-* ... )

- We are using the 'tapestry-googleanalytics' Library to obtain the
statistics of our
website. It works great, but now we need an specific customization to
discard
the work done by the GAnalyticsScriptsInjector class in some specific
Pages. This
class is an implementation of the _MarkupRendererFilter _interface, so here
is the key. How
could we know the classname  of the page that is being rendered inside a
MarkupRendererFilter ? Is it possible ?

We tried by inyecting the ComponentResources service inside ( inspired in
the typical Layout component,
that uses this service to determine the current page ) , but don´t works,
T5 says that this service is not available.

Thanks in advance  Have a nive day,
Antonio

P.D.: If you want to see another little example of
what you can do EASILY with Tapestry 5, please
take a look of our website ;-)

--
Antonio Miguel Fernández Rodríguez
Jaraxa Software, SL
Administrator, Software analyst
www.jaraxa.com







--

Antonio Miguel Fernández Rodríguez
Jaraxa Software, SL
Administrator, Software analyst
www.jaraxa.com


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



T5.1 +tapestry-googleanalytics - Get the current page classname from inside a MarkupRendererFilter.

2010-11-22 Thread Antonio Fernández


Hi all, Greetings from Málaga :) !!!

- Congratulations for the new Layout of the Web Site.

- Thanks for this really active/useful mailing list, I founded a lot of 
solutions
and interesting news about 3rd Libraries, upgradings and books ( here we 
continue

waiting the english translation of the Igor´s Book :-* ... )

- We are using the 'tapestry-googleanalytics' Library to obtain the 
statistics of our
website. It works great, but now we need an specific customization to 
discard
the work done by the GAnalyticsScriptsInjector class in some specific 
Pages. This
class is an implementation of the _MarkupRendererFilter _interface, so 
here is the key. How
could we know the classname  of the page that is being rendered inside a 
MarkupRendererFilter ? Is it possible ?


We tried by inyecting the ComponentResources service inside ( inspired 
in the typical Layout component,
that uses this service to determine the current page ) , but don´t 
works, T5 says that this service is not available.


Thanks in advance  Have a nive day,
Antonio

P.D.: If you want to see another little example of
what you can do EASILY with Tapestry 5, please
take a look of our website ;-)

--
Antonio Miguel Fernández Rodríguez
Jaraxa Software, SL
Administrator, Software analyst
www.jaraxa.com





Re: [ANN] Manning Publications translates my Tapestry 5 book

2010-06-11 Thread Antonio Fernández


Congratulations !! ;-)


El 11/06/2010 1:03, Igor Drobiazko escribió:

Hello folks,

great news for all of you who wished my Tapestry 5 book to be translated
into English. Manning Publications informed me today that the translation
agreement is finalized. We start working on the English version of the book.

Read more on my blog:

http://blog.tapestry5.de/index.php/2010/06/11/manning-publications-translates-my-tapestry-5-book/

   



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



Re: [ANN] Manning Publications translates my Tapestry 5 book

2010-06-11 Thread Antonio Fernández


Congratulations !! ;-)


El 11/06/2010 1:03, Igor Drobiazko escribió:

Hello folks,

great news for all of you who wished my Tapestry 5 book to be translated
into English. Manning Publications informed me today that the translation
agreement is finalized. We start working on the English version of the book.

Read more on my blog:

http://blog.tapestry5.de/index.php/2010/06/11/manning-publications-translates-my-tapestry-5-book/

   



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



Re: [ANNOUNCEMENT] New Tapestry 5 book

2009-11-11 Thread Antonio Fernández


+1


Alfonso Quiroga escribió:

+1

On Wed, Nov 11, 2009 at 6:24 PM, keykubat sahinfati...@gmail.com wrote:
  

:) +1

Igor Drobiazko wrote:


Good news. My publisher made the first step towards the translation. They
contacted several publishers outside Germany to find one that is
interested
in translation. If some of them is interested then we will have the
english
version of the book.

If you want to help me to make the translation possible make some noise
here. The more comments here the more likely we will have a translation.
I'll keep you informed about the progress.

On Wed, Sep 16, 2009 at 7:28 PM, Igor Drobiazko
igor.drobia...@gmail.comwrote:

  

Hello folks,

I am pleased to announce a new Tapestry 5 book. The book is written in
German and is available as eBook on publisher's website:


http://www.addison-wesley.de/main/main.asp?page=home/bookdetailsProductID=174975


The hardcover version of the book will be available starting from Sep 28
2009.
I'll make another announcement when the hardcover version is released.

Among other things the book covers :
   * Getting Started with Tapestry 5
   * Concepts of the framework
   * Localization/internationalization
   * Creating Forms
   * Generation of user interfaces for JavaBeans
   * Writing own components and mixins
   * Ajax
   * Writing tests for Tapestry applications
   * Hibernate and Spring integration
   * Dependency Injection and Tapestry IoC
   * AOP and bytecode manipuation

Special thanks go to Howard and Ulrich Stärk. Howard gave me some hints
on
how to write a better book and wrote a foreword.
Ulrich was responsible for the technical review of the book and helped me
to improve the quality.

Enjoy

--
Best regards,

Igor Drobiazko




--
Best regards,

Igor Drobiazko


  

--
View this message in context: 
http://old.nabble.com/-ANNOUNCEMENT--New-Tapestry-5-book-tp25477922p26308914.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


  



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



Re: [Tapestry Central] Next Steps for Tapestry

2009-11-07 Thread Antonio Fernández


+1 Bible Book :-)

Antonio

Carl Crowder escribió:
Agreed: the main thing Tapestry is lacking is a book that explains not 
just the basics but also concepts that it takes months of working with 
Tapestry to discover. Things like shadow builders and so on. I don't 
care who writes one as long as there's a definitive guide!


jose luis sanchez wrote:

Book ! Book ! Book !

El 07/11/2009, a las 19:11, Howard escribió:


I've been consciously letting Tapestry 5.1 sit and stabilize for a
while ... a time that's stretched a few months longer than I initially
intended.
This is due to a number of factors: my return to independent
consulting, my desire to write a definitive Tapestry 5 book, and
preparations for many trips and speaking engagements.
All of these factors have worked on each other: I've been improving and
extending my Tapestry Workshop training materials which can be quite
time consuming. I've also (over the last several months) been on the
road several times, talking about Tapestry or doing Tapestry training.
I do want to write a book on Tapestry but if I start writing 5.2 code,
I know I'll be sucked right in ... lots of code (that darn Spring Web
Flow integration for sure this time) and bug fixes.
In addition, I've had an embarassment of riches: two main clients, one
regular part time, and the other requesting (but not always getting)
all my remaining time. I also have additional clients and training
engagements waiting in the wings. I simply have a lot of draws on my
time.
As usual, working on real-world projects lets me experience the rough
edges of Tapestry and fills me with ideas on how to address those in
the next release ... often by splitting up Tapestry services into
smaller, more easily overridden chunks and carefully moving internal
services out into the public APIs.
Finally, I've been very pleased by the fact that as I've stepped back
temporarily from my normal stream of commits, the other Tapestry
developers have stepped in and filled the gap. There's been quite a bit
of activity especially from Igor that I've barely had a chance to keep
up on.
So the question is: do I wait and see if time opens up in Q1 to
actually start on a T5 book ... or do I jump into 5.2 coding and leave
books to others? It's much, much easier to write code than to write a
book ... a book is a large amount of concentrated effort. It's very
hard to accomplish anything on a book using an hour here or an evening
there ... whereas Tapestry's code base lends itself to that kind of
effort quite nicely.

--
Posted By Howard to Tapestry Central at 11/07/2009 10:11:00 AM



-
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





-
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 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 craigstj...@gmail.comwrote:

  

+1

On Mon, Jun 15, 2009 at 11:14 AM, Paulo Marcelo paulo.marc...@gmail.com


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 thiag...@gmail.com

  

+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



Re: [5.1.0.5] Ars-Machina - No service Implements the interface org.hibernate.SessionFactory

2009-05-26 Thread Antonio Fernández


Thiago H. de Paula Figueiredo escribió:
Em Mon, 25 May 2009 12:43:17 -0300, Antonio Fernández 
amiguel.fernan...@gmail.com escreveu:



Hi again,


Hi!


* org.hibernate.HibernateException: No CurrentSessionContext
  configured!


The suggested way is to override getSession() to return something 
other than sessionFactory.getSession() or set a CurrentSessionContext 
in you SessionFactory (recommended). This section in the Hibernate 
documentation tells you why and how: 
http://docs.jboss.org/hibernate/stable/core/reference/en/html_single/#architecture-current-session. 





. I tried with the three available values for property 
hibernate.current_session_context_class,  it only works with

value org.hibernate.context.ThreadLocalSessionContext.

However, a new problem

   * org.hibernate.HibernateException: createCriteria is not valid
 without active transaction

Hide uninteresting stack frames Stack trace

   * 
org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:338)

   * $Proxy68.createCriteria(Unknown Source)
   * 
br.com.arsmachina.dao.hibernate.ReadableDAOImpl.createCriteria(ReadableDAOImpl.java:267)

   * 
br.com.arsmachina.dao.hibernate.ReadableDAOImpl.findAll(ReadableDAOImpl.java:125)

   * 
br.com.arsmachina.dao.hibernate.GenericDAOImpl.findAll(GenericDAOImpl.java:94)

   * $UserDAO_1217e966a63.findAll($UserDAO_1217e966a63.java)
   * org.jwp.ic20.pages.admin.user.UserShowAll.getUsers(UserShowAll.java:39)

   * $PropertyConduit_1217e966a93.get($PropertyConduit_1217e966a93.java)

   * 
org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:58)



My AppModule already includes the following contribution for decorating 
all the DAO services :


   @Match(*DAO)
   public static T T 
decorateTransactionally(HibernateTransactionDecorator decorator, 
ClassT serviceInterface,

   T delegate,
   String serviceId)
   {
   return decorator.build(serviceInterface, delegate, serviceId);
   }

So at this point would require a deeper understanding of tapestry-hibernate.


Greetings,
Antonio










A few changes in BaseHibernateDAO :

   - Replaced the import of class org.hibernate.classic.Session with
org.hibernate.Session.


Thanks for pointing me that. I've just fixed this in the Generic 
DAO-Hibernate branch. By the way, in the Maven repository, there is an 
improved 1.1 version there.



   - Add the org.hibernate.Session object as a new paremeter in all the
constructor methods.
   - Changes in class BaseHibernateDAO :

Add new field of type org.hibernate.Session, that will be
initialized inside the constructor ( like the SessionFactory does )
Modify the method getSession(), returning the new field 
reference


These modifications aren't appropriate to *Generic* DAO-Hibernate, as 
they wouldn't work without Tapestry-IoC (for example, when you're 
building a desktop application or using Spring), and this package is 
meant to be independetly from Tapestry-IoC.





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



Re: [5.1.0.5] Ars-Machina - No service Implements the interface org.hibernate.SessionFactory

2009-05-25 Thread Antonio Fernández


Hi again, 


I tried adding the following builder method :
 
   public static SessionFactory buildSessionFactory(final 
HibernateSessionManager hibernateSessionManager) {

   return hibernateSessionManager.getSession().getSessionFactory();
   }

And T5 returns  ...

throwables

   * org.hibernate.HibernateException: No CurrentSessionContext
 configured!

Stack trace

   * 
org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:572)

   * 
$SessionFactory_1217831619b.getCurrentSession($SessionFactory_1217831619b.java)

   * 
br.com.arsmachina.dao.hibernate.BaseHibernateDAO.getSession(BaseHibernateDAO.java:111)

   * 
br.com.arsmachina.dao.hibernate.ReadableDAOImpl.createCriteria(ReadableDAOImpl.java:267)

   * 
br.com.arsmachina.dao.hibernate.ReadableDAOImpl.findAll(ReadableDAOImpl.java:125)

   * 
br.com.arsmachina.dao.hibernate.GenericDAOImpl.findAll(GenericDAOImpl.java:94)

   * $UserDAO_1217831614a.findAll($UserDAO_1217831614a.java)

I attached my custom implementations of the package 
br.com.arsmachina.dao.hibernate ,
now i have working ars-machina.generic-dao-hibernate and 
tapestry-hibernate modules together .


A few changes in BaseHibernateDAO :

  - Replaced the import of class org.hibernate.classic.Session with 
org.hibernate.Session.


  - Add the org.hibernate.Session object as a new paremeter in all the 
constructor methods.


  - Changes in class BaseHibernateDAO :

   Add new field of type org.hibernate.Session, that will be 
initialized inside the constructor ( like the SessionFactory does )
   Modify the method getSession(), returning the new field 
reference


By this way, the SessionFactory is Only used for his specific purposes 
and the Session
is provided directly by the HibernateSessionManager service from 
tapestry-hibernate.


That´s all , any suggestions, opinions..


Nice evening !
Antonio



Thiago H. de Paula Figueiredo escribió:

On Mon, May 25, 2009 at 6:58 AM, GMAIL1 amiguel.fernan...@gmail.com wrote:

  

Hi all ,



Hi!

  

I´m trying to use te modules Ars-Machina generic-dao 
generic-dao-hibernate, but i´m getting the following message :



Nice to see that someone besides me is using the Ars Machina Project
packages. :)

  

No service implements the interface org.hibernate.SessionFactory*



These packages don't have a dependency on Tapestry-IoC, so they don't
provide a SessionFactory service to T-IoC.

  

Any addicional dependency for get working ? I will try making my own
builder method that returns an instance of SessionFactory, getting the instance 
from one of the services provided
the tapestry-hibernate module.



I've never used Tapestry-Hibernate myself, but I guess that'll work. :)

  




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

Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-11-02 Thread Antonio Fernández - STAR Málaga


Hi again ,


Many thanks Howard, i will continue working on this way, starting with
the analize of the Tapestry JavaScript build-in functions for 
indentifying the

ones that needs to be overwritten.


Greetings4All
Passi



Howard Lewis Ship escribió:

This can be done by monkey patching the Tapestry JavaScript.  You
can have a JS library that overwrites the definitions of some of the
built-in Tapestry functions related to validation.  In this way, you
can prevent the pop up bubbles, or change how the validation messages
are presented to the user.

On Thu, Oct 30, 2008 at 1:36 AM, Antonio Fernández - STAR Málaga
[EMAIL PROTECTED] wrote:
  

Hi again !

Many thanks for you fast asnwer , i tryed your option , but this is not the
behaviour i want.

Now the submit action happens when one or more TextFields are empty,
and with clientValidation=true the submit is not completed.

I want the behaviour of clientValidation=true, but simply hidding the
Validation Messages.




Greetings  Nice Day


Sven Homburg escribió:

have a look in the Form component description (parameter
clientSideValidation)
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html

2008/10/30 Antonio Fernández - STAR Málaga [EMAIL PROTECTED]




Hi All   Good Morning   :-)

Is there a way for hidding the JavaScript Validation Messages on the
Client-Side ?

Greetings
Passi

-
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 5.0.15] - Hidding client-side validation

2008-11-02 Thread Antonio Fernández - STAR Málaga



Finally i´ve found a solution.

I have overwritten only the definition of the following object :

Tapestry.FieldEventManager = Class.create({

..
.

});


By removing all the content from removeDecorations and 
showValidationMessage functions i have
exactly the validation´s behaviour i want ( client-side without layout 
effects )



Greetings  Thanks a lot,
Passi



Antonio Fernández - STAR Málaga escribió:


Hi again ,


Many thanks Howard, i will continue working on this way, starting with
the analize of the Tapestry JavaScript build-in functions for 
indentifying the

ones that needs to be overwritten.


Greetings4All
Passi



Howard Lewis Ship escribió:

This can be done by monkey patching the Tapestry JavaScript.  You
can have a JS library that overwrites the definitions of some of the
built-in Tapestry functions related to validation.  In this way, you
can prevent the pop up bubbles, or change how the validation messages
are presented to the user.

On Thu, Oct 30, 2008 at 1:36 AM, Antonio Fernández - STAR Málaga
[EMAIL PROTECTED] wrote:
 

Hi again !

Many thanks for you fast asnwer , i tryed your option , but this is 
not the

behaviour i want.

Now the submit action happens when one or more TextFields are empty,
and with clientValidation=true the submit is not completed.

I want the behaviour of clientValidation=true, but simply hidding the
Validation Messages.




Greetings  Nice Day


Sven Homburg escribió:

have a look in the Form component description (parameter
clientSideValidation)
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html 



2008/10/30 Antonio Fernández - STAR Málaga 
[EMAIL PROTECTED]





Hi All   Good Morning   :-)

Is there a way for hidding the JavaScript Validation Messages on the
Client-Side ?

Greetings
Passi

-
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]



[Tapestry 5.0.15] - Hidding client-side validation

2008-10-30 Thread Antonio Fernández - STAR Málaga

Hi All   Good Morning   :-)

Is there a way for hidding the JavaScript Validation Messages on the 
Client-Side ?


Greetings
Passi

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



Re: [Tapestry 5.0.15] - Hidding client-side validation

2008-10-30 Thread Antonio Fernández - STAR Málaga





Hi again ! 

Many thanks for you fast asnwer , i tryed your option , but this is not
the behaviour i want.

Now the submit action happens when one or more TextFields are empty,
and with clientValidation=true the submit is not completed. 

I want the behaviour of clientValidation=true, but simply hidding the
Validation Messages. 




Greetings  Nice Day 


Sven Homburg escribi:

  have a look in the "Form" component description (parameter
"clientSideValidation")
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html

2008/10/30 Antonio Fernndez - STAR Mlaga [EMAIL PROTECTED]
  
  
  
  
Hi All   Good Morning   :-)

Is there a way for hidding the _javascript_ Validation Messages on the
Client-Side ?

Greetings
Passi

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



  
  

  






[T5] Tapestry FLASH Objects ?

2008-07-23 Thread Antonio Fernández - STAR Málaga


Hi all,   ! viva Tapestrón !

I´m looking for information about working with Tapestry 5  FLASH, but 
seems there aren´t so many information.


- Is Tapestry 5 really ready for supporting this tecnology ?

- Is there some JavaScript Toolkit Library ready for handling the Flash 
object and it could be integrated with Tapestry 5 ?


- Any idea about the correct way for getting this integration ?

- Perhaps ... Flex, JQuery, red5  (http://osflash.org/red5) 


Many thanks in advance  and have a nice day.
DiPassi




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



T5 - T5Components - Loop Binding Error

2008-07-15 Thread Antonio Fernández - STAR Málaga


1) I´m trying with a basic example of the loop binding:

... the template ...@
ul
  li t:type=Loop source=loop:0,10,2 value=var:step
  the ${step} step
  /li
/ul


2) I´m getting the following error:

Could not convert 'step' into a component parameter binding: Class
com.star.tapestry.pages.T5Components does not contain a property named
'step'


3) I tried to fix it declaring a property on the class:

@Property
private int step;

And the result :

  * the 0 step
  * the 0 step
  * the 0 step
  * the 0 step
  * the 0 step
  * the 0 step

So, the Loop executes six times, and that´s correct,
but i think that the var:step is not detected.



Greetings  Have a nice day ,
Passi






Messages , ResourceBundle UTF-8 encoding

2008-07-07 Thread Antonio Fernández - STAR Málaga

Hi All,

¿ Is There a way for overriding the Messages services  ?

@Inject
private Messages messages;

If i use the native2ascii tool for encoding the .properties files all 
the characters are showed correctly.


My target it´s to leave all the .properties files encoded on UTF-8, i 
don´t want to use the native2ascii tool.


For this purpose i already have an Utf8ResourceBundle class that already 
works like i want.


Looking the Tapestry JavaDoc, i see that the MessagesImpl object has the 
following constructor:


|*MessagesImpl 
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/ioc/internal/util/MessagesImpl.html#MessagesImpl%28java.util.Locale,%20java.util.ResourceBundle%29*(Locale 
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Locale.html locale, 
ResourceBundle 
http://java.sun.com/j2se/1.5.0/docs/api/java/util/ResourceBundle.html bundle)| 



¿ Is there a way of calling this constructor using my custom 
Utf8ResourceBundle, for example  ?

¿ Is there another way for getting my target ?

Thanks  Have a nice day !
DiPassi



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