Trying out 5.3.0

2011-06-19 Thread Angelo C.
Hi,

I updated a working 5.2.4 project's pom with following changes:
 repositories
repository
idapache-snapshots/id

urlhttps://repository.apache.org/content/repositories/orgapachetapestry-023/org/apache/tapestry//url
/repository
/repositories

properties
tapestry-release-version5.3.0/tapestry-release-version
/properties
but it does not pull down 5.3.0 jars, instead, it gives this:

Downloading:
https://repository.apache.org/content/repositories/orgapachetapestry-023/org/apache/tapestry/org/apache/tapestry/tapestry-core/5.3.0/tapestry-core-5.3.0.pom
[WARNING] The POM for org.apache.tapestry:tapestry-core:jar:5.3.0 is
missing, no dependency information available

hints?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Trying-out-5-3-0-tp4503041p4503041.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 : Trying out 5.3.0

2011-06-19 Thread Guerin Laurent
Hi,

try with this configuration (repository url param) :

 repository
repository
idapache-snapshots/id

urlhttps://repository.apache.org/content/repositories/orgapachetapestry-023//url
/repository
/repositories

properties
tapestry-release-version5.3.0/tapestry-release-version
/properties

Laurent.


De : Angelo C. [angelochen...@gmail.com]
Date d'envoi : dimanche 19 juin 2011 11:02
À : users@tapestry.apache.org
Objet : Trying out 5.3.0

Hi,

I updated a working 5.2.4 project's pom with following changes:
 repositories
repository
idapache-snapshots/id

urlhttps://repository.apache.org/content/repositories/orgapachetapestry-023/org/apache/tapestry//url
/repository
/repositories

properties
tapestry-release-version5.3.0/tapestry-release-version
/properties
but it does not pull down 5.3.0 jars, instead, it gives this:

Downloading:
https://repository.apache.org/content/repositories/orgapachetapestry-023/org/apache/tapestry/org/apache/tapestry/tapestry-core/5.3.0/tapestry-core-5.3.0.pom
[WARNING] The POM for org.apache.tapestry:tapestry-core:jar:5.3.0 is
missing, no dependency information available

hints?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Trying-out-5-3-0-tp4503041p4503041.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 : Trying out 5.3.0

2011-06-19 Thread Guerin Laurent
Without the typo...

repositories  
repository
idapache-snapshots/id

urlhttps://repository.apache.org/content/repositories/orgapachetapestry-023//url
/repository
/repositories


De : Guerin Laurent [lgue...@sopragroup.com]
Date d'envoi : dimanche 19 juin 2011 11:32
À : Tapestry users
Objet : RE : Trying out 5.3.0

Hi,

try with this configuration (repository url param) :

 repository
repository
idapache-snapshots/id

urlhttps://repository.apache.org/content/repositories/orgapachetapestry-023//url
/repository
/repositories

properties
tapestry-release-version5.3.0/tapestry-release-version
/properties

Laurent.


De : Angelo C. [angelochen...@gmail.com]
Date d'envoi : dimanche 19 juin 2011 11:02
À : users@tapestry.apache.org
Objet : Trying out 5.3.0

Hi,

I updated a working 5.2.4 project's pom with following changes:
 repositories
repository
idapache-snapshots/id

urlhttps://repository.apache.org/content/repositories/orgapachetapestry-023/org/apache/tapestry//url
/repository
/repositories

properties
tapestry-release-version5.3.0/tapestry-release-version
/properties
but it does not pull down 5.3.0 jars, instead, it gives this:

Downloading:
https://repository.apache.org/content/repositories/orgapachetapestry-023/org/apache/tapestry/org/apache/tapestry/tapestry-core/5.3.0/tapestry-core-5.3.0.pom
[WARNING] The POM for org.apache.tapestry:tapestry-core:jar:5.3.0 is
missing, no dependency information available

hints?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Trying-out-5-3-0-tp4503041p4503041.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: RE : Trying out 5.3.0

2011-06-19 Thread Angelo C.
Thanks, works this time, see those 5.3.0 jar's being downloaded, but got
this:

[ERROR]
/Users/wcc/test_t5_3/newapp/src/main/java/com/example/newapp/components/Layout.java:[11,1]
cannot find symbol
[ERROR] symbol: class IncludeStylesheet
[ERROR] @IncludeStylesheet(context:layout/layout.css)
[ERROR] - [Help 1]

I do have another question, how to create a project in 5.3.0, following is
not working:

mvn -DarchetypeVersion=5.3.0 -Darchetype.interactive=false
-DgroupId=com.example -DarchetypeArtifactId=quickstart
-Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.tapestry
-Dpackage=com.example.newapp -DartifactId=newapp --batch-mode
-DarchetypeRepository=https://repository.apache.org/content/repositories/orgapachetapestry-023/
archetype:generate


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Trying-out-5-3-0-tp4503041p4503127.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: RE : Trying out 5.3.0

2011-06-19 Thread Angelo C.
Thanks, works this time, see those 5.3.0 jar's being downloaded, but got
this:

[ERROR]
/Users/wcc/test_t5_3/newapp/src/main/java/com/example/newapp/components/Layout.java:[11,1]
cannot find symbol
[ERROR] symbol: class IncludeStylesheet
[ERROR] @IncludeStylesheet(context:layout/layout.css)
[ERROR] - [Help 1]

I do have another question, how to create a project in 5.3.0, following is
not working:

mvn -DarchetypeVersion=5.3.0 -Darchetype.interactive=false
-DgroupId=com.example -DarchetypeArtifactId=quickstart
-Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.tapestry
-Dpackage=com.example.newapp -DartifactId=newapp --batch-mode
-DarchetypeRepository=https://repository.apache.org/content/repositories/orgapachetapestry-023/
archetype:generate


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Trying-out-5-3-0-tp4503041p4503126.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: RE : Trying out 5.3.0

2011-06-19 Thread Chris Poulsen
Hi,

I guess the archetype is kind of in between versions.

I guess the deprecated @IncludeStyleSheet has been removed in 5.3 and should
he replaced with @Import(stylesheet=context:layout/layout.css)

HTH.

-- 
Chris

On Sun, Jun 19, 2011 at 12:04 PM, Angelo C. angelochen...@gmail.com wrote:

 Thanks, works this time, see those 5.3.0 jar's being downloaded, but got
 this:

 [ERROR]

 /Users/wcc/test_t5_3/newapp/src/main/java/com/example/newapp/components/Layout.java:[11,1]
 cannot find symbol
 [ERROR] symbol: class IncludeStylesheet
 [ERROR] @IncludeStylesheet(context:layout/layout.css)
 [ERROR] - [Help 1]

 I do have another question, how to create a project in 5.3.0, following is
 not working:

 mvn -DarchetypeVersion=5.3.0 -Darchetype.interactive=false
 -DgroupId=com.example -DarchetypeArtifactId=quickstart
 -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.tapestry
 -Dpackage=com.example.newapp -DartifactId=newapp --batch-mode
 -DarchetypeRepository=
 https://repository.apache.org/content/repositories/orgapachetapestry-023/
 archetype:generate


 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Trying-out-5-3-0-tp4503041p4503126.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: RE : Trying out 5.3.0

2011-06-19 Thread Christian Riedel
There's no archetype for 5.3.0, yet! You have to wait for the next alpha 
release, I think. Use the 5.2.5 archetype and change the version in the pom. 

Am 19.06.2011 um 12:33 schrieb Chris Poulsen:

 Hi,
 
 I guess the archetype is kind of in between versions.
 
 I guess the deprecated @IncludeStyleSheet has been removed in 5.3 and should
 he replaced with @Import(stylesheet=context:layout/layout.css)
 
 HTH.
 
 -- 
 Chris
 
 On Sun, Jun 19, 2011 at 12:04 PM, Angelo C. angelochen...@gmail.com wrote:
 
 Thanks, works this time, see those 5.3.0 jar's being downloaded, but got
 this:
 
 [ERROR]
 
 /Users/wcc/test_t5_3/newapp/src/main/java/com/example/newapp/components/Layout.java:[11,1]
 cannot find symbol
 [ERROR] symbol: class IncludeStylesheet
 [ERROR] @IncludeStylesheet(context:layout/layout.css)
 [ERROR] - [Help 1]
 
 I do have another question, how to create a project in 5.3.0, following is
 not working:
 
 mvn -DarchetypeVersion=5.3.0 -Darchetype.interactive=false
 -DgroupId=com.example -DarchetypeArtifactId=quickstart
 -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.tapestry
 -Dpackage=com.example.newapp -DartifactId=newapp --batch-mode
 -DarchetypeRepository=
 https://repository.apache.org/content/repositories/orgapachetapestry-023/
 archetype:generate
 
 
 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Trying-out-5-3-0-tp4503041p4503126.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: RE : Trying out 5.3.0

2011-06-19 Thread Angelo C.
this works. think have to replace all in the projects in order for upgrading.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Trying-out-5-3-0-tp4503041p4503355.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



Migrating to 5.3

2011-06-19 Thread Taha Hafeez
Hi everybody

I am thinking of migrating all my blog(http://tawus.wordpress.com) posts to
5.3. I have three options :-

1. Edit the current posts and upgrade them to 5.3 and keep the 5.2.5 version
at the bottom.
2. Write separate posts with different titles for 5.3
3. Edit the current posts and upgrade them to 5.3 and keep the earlier
content in separate posts with different titles.

Also, I am thinking of writing a complete series of tutorials for newbies
and would like your suggestions before it begin.

regards
Taha


Re: Confirm through colorbox.

2011-06-19 Thread françois facon
Hi Juan,

Did you have a look at IOKO contribution?

It is a nice example that provide also a mixin for dialog.

http://code.google.com/p/ioko-tapestry-commons/source/browse/trunk/tapestry-commons/tapestry-mixins/src/main/resources/uk/co/ioko/tapestry/mixins/mixins/overlay.js

There is also Reveal mixin in tapestry-query provided by Emmanel Demey at
https://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/jquery/assets/mixins/reveal/reveal.js
this one use jquery e.preventDefault(); to stop the event


François


2011/6/15 Kado juan.a...@condortech.com.ar:
 Hi everybody,

 I am trying to make a confirm using the jQuery plugin colorbox.

 The main problem is that when I click the modal is open for 2 seconds and
 the page continues the natural flow.

 This is the mixin and tml of the code that I am using:


 _*This is the tml example:*_

 t:zone t:id=gridEndpointZone id=gridEndpointZone 
 t:actionLink     t:id=deleteLink context=X
                                                    t:question=delete?
 t:mixins=condorTapestryLib/ModalConfirm
                                                     t:yesLabel=Yes, delete
 t:noLabel=No, don't delete

 t:zone=gridEndpointZone

                                        Delete
 /t:actionLink
 /t:zone


 _*Java for the mixin:*_

    @BeforeRenderTemplate
    public void afterRenderTemplateLink() {
            renderSupport.addScript(String.format(new ModalConfirm('%s',
 '%s','%s', '%s', '%s');,
                    element.getClientId(), question, zoneId, yesLabel,
 noLabel));
    }



 _*The javascript:*_

 var ModalConfirm = Class.create();
 ModalConfirm.prototype = {
        initialize: function(element, question, zoneId, yesLabel, noLabel) {

                /* modalContainer is a div with the modal colorbox.
                    It is fullfilled with the parameters received in the
 function (question, zoneId...)
                */

                    document.body.appendChild(modalContainer);

                    Event.observe($(element), 'click',
                            function(event){
                                Event.stop(event); // This is NOT stopping
 anything.
                                jQuery.colorbox({
                                    inline:true,
                                    href: #modalDiv,
                                    height:300px,
                                    width:400px
                                });
                            });
        }
 }




 Thanks in advance to everybody!



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



[ANN] Tapestry-breadcrumbs version 1.4 is released

2011-06-19 Thread Joakim Olsson
Hi,

I just released version 1.4 of tapestry-breadcrumbs.

The only change is regarding how the dispatcher is added to the master
dispatcher. Previously I added it with before:PageRender but that made
it pick up assets and component events as well as page renders so I
have changed it to after:ComponentEvent,before:PageRender.

Regards,
Joakim

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



Re: [ANN] Tapestry-breadcrumbs version 1.4 is released

2011-06-19 Thread Kalle Korhonen
Always link to your project page!

Kalle


On Sun, Jun 19, 2011 at 10:19 AM, Joakim Olsson joa...@unbound.se wrote:
 Hi,

 I just released version 1.4 of tapestry-breadcrumbs.

 The only change is regarding how the dispatcher is added to the master
 dispatcher. Previously I added it with before:PageRender but that made
 it pick up assets and component events as well as page renders so I
 have changed it to after:ComponentEvent,before:PageRender.

 Regards,
 Joakim

 -
 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: Migrating to 5.3

2011-06-19 Thread Thiago H. de Paula Figueiredo

Hi!

I guess you won't need to change any post as long as you haven't used  
anything deprecated in 5.2.4. I'd suggest you to just add notes to things  
that have changed, if any.


On Sun, 19 Jun 2011 12:34:16 -0300, Taha Hafeez tawus.tapes...@gmail.com  
wrote:



Hi everybody

I am thinking of migrating all my blog(http://tawus.wordpress.com) posts  
to

5.3. I have three options :-

1. Edit the current posts and upgrade them to 5.3 and keep the 5.2.5  
version

at the bottom.
2. Write separate posts with different titles for 5.3
3. Edit the current posts and upgrade them to 5.3 and keep the earlier
content in separate posts with different titles.

Also, I am thinking of writing a complete series of tutorials for newbies
and would like your suggestions before it begin.

regards
Taha



--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
Consultor, desenvolvedor e instrutor em Java, Tapestry e Hibernate
http://www.arsmachina.com.br

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



Re: [ANN] Tapestry-breadcrumbs version 1.4 is released

2011-06-19 Thread Joakim Olsson
Gaah...Of course. It's on GitHub:
https://github.com/argoyle/tapestry-breadcrumbs

/Joakim


On Sun, Jun 19, 2011 at 8:16 PM, Kalle Korhonen
kalle.o.korho...@gmail.com wrote:
 Always link to your project page!

 Kalle


 On Sun, Jun 19, 2011 at 10:19 AM, Joakim Olsson joa...@unbound.se wrote:
 Hi,

 I just released version 1.4 of tapestry-breadcrumbs.

 The only change is regarding how the dispatcher is added to the master
 dispatcher. Previously I added it with before:PageRender but that made
 it pick up assets and component events as well as page renders so I
 have changed it to after:ComponentEvent,before:PageRender.

 Regards,
 Joakim

 -
 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



Select component and Ajax (Tapestry version 5.2.0)

2011-06-19 Thread Luciano
Hi everyone,

my case is quite simple : somewhere on the website I'm working on, I need to
trigger an Ajax request each time the internaut selects a new option
manipulating a regular HTML Select component.

I read the doc and I found exactly what I needed :
http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html

My problem is that this zone parameter is not available for me : I'm
working on an Tapestry 5.1.0.5 application.

Can you just help me to find a solution ?

I'm thinking about this :
- is it possible to patch the concerned files in order to add this new
zone parameter for the Tapestry select component ?
- easier : given that a Tapestry select component is always included in a
t:form component, I could use some JS to intercept the event : the user
is clicking on a option markup and then trigger at this time the t:form
(ajax way) with $(idForm).fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);

What do you think ? Does anyone here faced this particular situation ?

Thank you for the feedback.

Best regards everyone!

http://twitter.com/lboix


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Select-component-and-Ajax-Tapestry-version-5-2-0-tp4504415p4504415.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: Select component and Ajax (Tapestry version 5.2.0)

2011-06-19 Thread leandroaispuru
Hi Luciano!
Some time ago i had the same problem.

Here is a link with a simple solution . The idea is to add some extra
javascript and java code in order to enable ajax to the select component of
tapestry 5.1.

Look and then tell me if it solves your problem:

http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1


The best way is to use Tapestry 5.2 that has incorporated a new parameter
called zone where you say the zone to refresh when the selected element
changes. But i understand you because when i faced this problem it wasn 't
possible to me to migrate to the newest version because of some dependencies
like spring, hibernate and others.

Good Luck!

2011/6/19 Luciano bg...@hotmail.com

 Hi everyone,

 my case is quite simple : somewhere on the website I'm working on, I need
 to
 trigger an Ajax request each time the internaut selects a new option
 manipulating a regular HTML Select component.

 I read the doc and I found exactly what I needed :

 http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html

 My problem is that this zone parameter is not available for me : I'm
 working on an Tapestry 5.1.0.5 application.

 Can you just help me to find a solution ?

 I'm thinking about this :
 - is it possible to patch the concerned files in order to add this new
 zone parameter for the Tapestry select component ?
 - easier : given that a Tapestry select component is always included in a
 t:form component, I could use some JS to intercept the event : the user
 is clicking on a option markup and then trigger at this time the
 t:form
 (ajax way) with $(idForm).fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);

 What do you think ? Does anyone here faced this particular situation ?

 Thank you for the feedback.

 Best regards everyone!

 http://twitter.com/lboix


 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Select-component-and-Ajax-Tapestry-version-5-2-0-tp4504415p4504415.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: Select component and Ajax (Tapestry version 5.2.0)

2011-06-19 Thread leandroaispuru
Sorry .. the link i've passed to you is incorrect.
I can't found the correct one because i haven't here the source code.

I will give the right solution on tuesday morning or tomorrow if i find it
on internet ok?

Sorry again...


2011/6/19 leandroaisp...@gmail.com

 Hi Luciano!
 Some time ago i had the same problem.

 Here is a link with a simple solution . The idea is to add some extra
 javascript and java code in order to enable ajax to the select component of
 tapestry 5.1.

 Look and then tell me if it solves your problem:

 http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1


 The best way is to use Tapestry 5.2 that has incorporated a new parameter
 called zone where you say the zone to refresh when the selected element
 changes. But i understand you because when i faced this problem it wasn 't
 possible to me to migrate to the newest version because of some dependencies
 like spring, hibernate and others.

 Good Luck!


 2011/6/19 Luciano bg...@hotmail.com

 Hi everyone,

 my case is quite simple : somewhere on the website I'm working on, I need
 to
 trigger an Ajax request each time the internaut selects a new option
 manipulating a regular HTML Select component.

 I read the doc and I found exactly what I needed :

 http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html

 My problem is that this zone parameter is not available for me : I'm
 working on an Tapestry 5.1.0.5 application.

 Can you just help me to find a solution ?

 I'm thinking about this :
 - is it possible to patch the concerned files in order to add this new
 zone parameter for the Tapestry select component ?
 - easier : given that a Tapestry select component is always included in a
 t:form component, I could use some JS to intercept the event : the user
 is clicking on a option markup and then trigger at this time the
 t:form
 (ajax way) with $(idForm).fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);

 What do you think ? Does anyone here faced this particular situation ?

 Thank you for the feedback.

 Best regards everyone!

 http://twitter.com/lboix


 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Select-component-and-Ajax-Tapestry-version-5-2-0-tp4504415p4504415.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: Select component and Ajax (Tapestry version 5.2.0)

2011-06-19 Thread leandroaispuru
While i look for the solution i have used , here is an article that can help
you.

http://tapestry.1045711.n5.nabble.com/Select-does-not-submit-form-on-change-td2418954.html

Good Luck!

2011/6/19 leandroaisp...@gmail.com

 Sorry .. the link i've passed to you is incorrect.
 I can't found the correct one because i haven't here the source code.

 I will give the right solution on tuesday morning or tomorrow if i find it
 on internet ok?

 Sorry again...


 2011/6/19 leandroaisp...@gmail.com

 Hi Luciano!
 Some time ago i had the same problem.

 Here is a link with a simple solution . The idea is to add some extra
 javascript and java code in order to enable ajax to the select component of
 tapestry 5.1.

 Look and then tell me if it solves your problem:

 http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1


 The best way is to use Tapestry 5.2 that has incorporated a new parameter
 called zone where you say the zone to refresh when the selected element
 changes. But i understand you because when i faced this problem it wasn 't
 possible to me to migrate to the newest version because of some dependencies
 like spring, hibernate and others.

 Good Luck!


 2011/6/19 Luciano bg...@hotmail.com

 Hi everyone,

 my case is quite simple : somewhere on the website I'm working on, I need
 to
 trigger an Ajax request each time the internaut selects a new option
 manipulating a regular HTML Select component.

 I read the doc and I found exactly what I needed :

 http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html

 My problem is that this zone parameter is not available for me : I'm
 working on an Tapestry 5.1.0.5 application.

 Can you just help me to find a solution ?

 I'm thinking about this :
 - is it possible to patch the concerned files in order to add this new
 zone parameter for the Tapestry select component ?
 - easier : given that a Tapestry select component is always included in a
 t:form component, I could use some JS to intercept the event : the
 user
 is clicking on a option markup and then trigger at this time the
 t:form
 (ajax way) with $(idForm).fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);

 What do you think ? Does anyone here faced this particular situation ?

 Thank you for the feedback.

 Best regards everyone!

 http://twitter.com/lboix


 --
 View this message in context:
 http://tapestry.1045711.n5.nabble.com/Select-component-and-Ajax-Tapestry-version-5-2-0-tp4504415p4504415.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: Migrating to 5.3

2011-06-19 Thread Angelo C.
might be more helpful by writing some new features in 5.3, example: skinning
and theme support? this feature will get some users (I am one of them) goes
into 5.3 immediately.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Migrating-to-5-3-tp4503774p4504697.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: Migrating to 5.3

2011-06-19 Thread Angelo C.
might be more helpful by writing some new features in 5.3, example: skinning
and theme support? this feature will get some users (I am one of them) goes
into 5.3 immediately.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Migrating-to-5-3-tp4503774p4504698.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