RE: [T5.2.6] AjaxFormLoop containing tr's rather than being a tr

2012-05-30 Thread WINDEY Pieter AWL-IT
Strange,

When I try:


${person.lastName}
${person.firstName}


TEEEST




I'll get output




..






Which is what you want if I understand correctly !

-Original Message-
From: wout86 [mailto:wouter.amerij...@gmail.com]
Sent: Wednesday 30 May 2012 09:45
To: users@tapestry.apache.org
Subject: [T5.2.6] AjaxFormLoop containing tr's rather than being a tr

Hi,

I'm wondering whether it is possible to have an AjaxFormLoop containing
multiple tr elements?

For instance, this works:


 H1...
 <*tr *t:type="AjaxFormLoop" t:source="src" t:value="el"
t:encoder="elEncoder" t:show="show">
  
E1 ... 
...
  
  
 ...
 ...
  
 tr*>


But I'd like to do this, which doesn't seem to work:

 H1...
 <*div *t:type="AjaxFormLoop" t:source="src" t:value="el"
t:encoder="elEncoder" t:show="show">
  
   <*tr*>
E1 ... 
...
   
   
...
   tr*>
  
  
   
 ...
 ...
   
  
 div*>


The first piece of code generates HTML like:

 
  ...
  ...
  ...
  ...
  ...
  ...
  
# Add Row 
  
 


The latter generates the following HTML:
...
...
...
...
...
...


 
  ...
  ...
  ...
  ...
  ...
  ...
  ...
 


Which seems to have the AjaxFormLoop escaping the table .

Anyone having any ideas on this?

Thanks!


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-2-6-AjaxFormLoop-containing-tr-s-rather-than-being-a-tr-tp5713516.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




Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."

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



Re: T 5.2.6 EventLink and confirm box

2012-04-19 Thread pieter
I think you better create a mixin !

http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-2-6-EventLink-and-confirm-box-tp5653459p5653489.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: Registration and Login through FACEBOOK

2012-04-18 Thread WINDEY Pieter AWL-IT
Never used, but maybe 
http://tawus.wordpress.com/2011/08/15/tapestry-facebook-integration/ can help 
you !

-Original Message-
From: Nazakat Ali [mailto:nazakat@sukar.com]
Sent: Wednesday 18 April 2012 10:46
To: Tapestry users
Subject: Registration and Login through FACEBOOK

HI,
we are using the Spring security for Login and authenticating the user in our 
website. Its work very fine.

Now I want to allow the user to Register and Login through Facebook. There are 
lot of Facebook Api for JAVA but i don't know which one is better & which one 
can be easily integrated in Tapestry5.

can some one give me example, how to allow user to Login and Register in the 
presence of Spring security (Both should work parallel).

Thanks & looking for some one kind response.

Nazakat



Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


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



RE: tapestry5-highcharts available

2012-04-18 Thread WINDEY Pieter AWL-IT
http://nexus.pullrequest.org/content/repositories/snapshots/org/got5/tapestry5-highcharts/1.1.0-SNAPSHOT/



-Original Message-
From: Chris Mylonas [mailto:ch...@opencsta.org]
Sent: Wednesday 18 April 2012 09:24
To: Tapestry users
Subject: Re: tapestry5-highcharts available

The artifact info from doing a search points to this URL 
http://nexus.pullrequest.org/org/got5/tapestry5-highcharts/1.1.0-SNAPSHOT/tapestry5-highcharts-1.1.0-20120417.220226-18.jar

but again some technical glitch with the server/service.




On 18/04/2012, at 5:12 PM, Emmanuel DEMEY wrote:

> Hi
>
> If you have a Tapestry 5.3.* application, you should use the
> 1.1.0-SNAPSHOT. If it is a Tap 5.2.6 app, modify the version to 1.0.0.
>
> Emmanuel
>
> 2012/4/16 Chris Mylonas 
>
>> Hi Manu
>>
>> I just tried the sample BasicComponent but maven is complaining about not
>> being able to find the tapestry5-highcharts jar file.
>> I tried installing it manually as suggested by maven but still no luck.
>>
>> apache-staging (https://repository.apache.org/content/groups/staging/,
>> releases=true, snapshots=true),
>> PullRequest Repository (http://nexus.pullrequest.org, releases=true,
>> snapshots=true),
>> devlab722-repo (
>> http://nexus.devlab722.net/nexus/content/repositories/releases,
>> releases=true, snapshots=false),
>> devlab722-snapshot-repo (
>> http://nexus.devlab722.net/nexus/content/repositories/snapshots,
>> releases=false, snapshots=true),
>> central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
>>
>> [INFO] Unable to read jar manifest from
>> /Users/chrismylonas/.m2/repository/org/got5/tapestry5-highcharts/1.0.0-SNAPSHOT/tapestry5-highcharts-1.0.0-SNAPSHOT.jar
>> [INFO] Wrote settings to
>> /Users/chrismylonas/Documents/2012/Scat/highcharts/.settings/org.eclipse.jdt.core.prefs
>> [INFO] Wrote Eclipse project for "highcharts" to
>> /Users/chrismylonas/Documents/2012/Scat/highcharts.
>> [INFO]
>> [INFO]
>> 
>> [INFO] BUILD SUCCESS
>> [INFO]
>> 
>> [INFO] Total time: 15.387s
>> [INFO] Finished at: Tue Apr 17 00:21:41 EST 2012
>> [INFO] Final Memory: 9M/81M
>> [INFO]
>> 
>> pa42-241-103-153:highcharts chrismylonas$ vi pom.xml
>> pa42-241-103-153:highcharts chrismylonas$ mvn clean jetty:run
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO]
>> 
>> [INFO] Building highcharts Tapestry 5 Application 1.0-SNAPSHOT
>> [INFO]
>> 
>> [WARNING] The POM for org.got5:tapestry5-highcharts:jar:1.0.0-SNAPSHOT is
>> missing, no dependency information available
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 2.567s
>> [INFO] Finished at: Tue Apr 17 00:32:23 EST 2012
>> [INFO] Final Memory: 4M/81M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal on project highcharts: Could not resolve
>> dependencies for project org.opencsta:highcharts:war:1.0-SNAPSHOT: Failure
>> to find org.got5:tapestry5-highcharts:jar:1.0.0-SNAPSHOT in
>> https://repository.apache.org/content/groups/staging/ was cached in the
>> local repository, resolution will not be reattempted until the update
>> interval of apache-staging has elapsed or updates are forced -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>
>>
>>
>> As suggested by maven
>>
>> mvn install:install-file -DgroupId=org.got5
>> -DartifactId=tapestry5-highcharts -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar
>> -Dfile=/Users/chrismylonas/.m2/repository/org/got5/tapestry5-highcharts/1.0.0-SNAPSHOT/tapestry5-highcharts.jar
>>
>>
>> Any ideas?
>>
>> Cheers
>> Chris
>>
>>
>> On 30/03/2012, at 8:40 PM, Emmanuel DEMEY wrote:
>>
>>> Hi everybody !!
>>>
>>> The WebPlatform team, from Atos Company, is very pleased to announce a
>> new
>>> Tapestry Component library : Tapestry5-HighCharts.
>>>
>>> This contribution makes it possible to integrate the highcharts library (
>>> http://www.highcharts.com/) into a Tapestry5-jQuery based application.
>>>
>>> The release 1.0.0 is based on Tapestry 5.2.6, the 1.1.0-SNAPSHOT on
>>> Tapestry 5.3.2.
>>>
>>> The source are available on github (
>>> https://github.com/got5/tapestry5-highcharts), and some documentation 

Re: JQuery Calendar problem.

2012-04-02 Thread pieter
It's a date so use a date 

http://tapestry5-jquery.com/core/docsdatefield


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/JQuery-Calendar-problem-tp5610238p5611668.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: T5.2.6 jJquery Plugin 2.6.0 Form validation

2012-03-26 Thread WINDEY Pieter AWL-IT
See https://github.com/got5/tapestry5-jquery for more information.

But you are trying to place in your own jquery-validation script?
Maybe you can also find usefull help on 
http://jumpstart.doublenegative.com.au/jumpstart/examples/input/novalidationbubbles1

-Original Message-
From: resign [mailto:sergejb...@yahoo.de]
Sent: Tuesday 27 March 2012 08:11
To: users@tapestry.apache.org
Subject: RE: T5.2.6 jJquery Plugin 2.6.0 Form validation

Hi Pieter

>Your code is not even valid XML  !

Yes, You're right. I typed this code before i had my coffee  should
it be.


>Are you using tapestry5-jquery?
yes

>Are you mixing prototype & jquery?
I am ashamed, but I can not reply to that, because I don't know if i do. i
think yes.
How can i use ONLY the jQuery plugin?

Thanks,
resign



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-2-6-jJquery-Plugin-2-6-0-Form-validation-tp5596991p5597029.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




Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


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



RE: T5.2.6 jJquery Plugin 2.6.0 Form validation

2012-03-26 Thread WINDEY Pieter AWL-IT
Your code is not even valid XML  !

Are you using tapestry5-jquery? Are you mixing prototype & jquery?

-Original Message-
From: resign [mailto:sergejb...@yahoo.de]
Sent: Tuesday 27 March 2012 07:43
To: users@tapestry.apache.org
Subject: T5.2.6 jJquery Plugin 2.6.0 Form validation

Good morning everyone.

I have a problem to validate my form elements.

Index.tml:









So, if i try to submit emty form, i get the
org.apache.tapestry5.runtime.ComponentEventException
.
But i'm waiting for Tapestry warning "please fill out the fields" (or so...)

Can it be a compatibility problem?

greeting,
resign

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-2-6-jJquery-Plugin-2-6-0-Form-validation-tp5596991p5596991.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




Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


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



RE: Got5-Jquery compatibility with Grid and BeanEditForm / Tapestry-Bootstrap

2012-03-22 Thread WINDEY Pieter AWL-IT
I think suprression of prototype is done by default and no need for the alias.

Grid should normally work (see http://tapestry5-jquery.com/core/docsgrid) 
although I prefer to use the datatables 
(http://tapestry5-jquery.com/components/docsdatatables) but styles better ;)

About the beaneditor I have no idea, never use it.

-Original Message-
From: Lenny Primak [mailto:lpri...@hope.nyc.ny.us]
Sent: Thursday 22 March 2012 06:36
To: Tapestry users
Subject: Got5-Jquery compatibility with Grid and BeanEditForm / 
Tapestry-Bootstrap

I am trying to use Tapestry-Bootstrap module, and it requires JQuery, which I 
am new to.
So, I tried to use got5-jquery, and using SUPPRESS_PROTOTYPE(true) and 
JQUERY_ALIAS($j)
like it says in the docs.

Some of my current screens work exactly the way they should,
but those contain BeanEditForms and Grids fail to render correctly.
For example, The Grids are missing the paging component and the sorting buttons.

BeanEditForms don't render correctly at all.  Is there something I am missing 
to restore compatibility?

Another question:

Can the JQuery dependency be removed from Tapestry-Bootstrap?
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


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



RE: T5.2.6 jquery2.6.0 jquery dialog close from included component

2012-03-14 Thread WINDEY Pieter AWL-IT
Just put your form in a zone, on error -> return zone
On success -> return page

-Original Message-
From: resign [mailto:sergejb...@yahoo.de]
Sent: Wednesday 14 March 2012 14:29
To: users@tapestry.apache.org
Subject: RE: T5.2.6 jquery2.6.0 jquery dialog close from included component

hi Manu,

in my component i have a form.
And onFail the dialog should stay on top, onSuccess the dialog should
disappear.

Thanks,
resign

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-2-6-jquery2-6-0-jquery-dialog-close-from-included-component-tp5564657p5564685.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




Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


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



Testing pages with spring usage issue

2012-03-09 Thread pieter
Hello,


In my application, I'm using tapestrySpringServlet in web.xml -> loads
springcontext.xml to implement all my interfaces & make databaseconnection.
This all works fine.

But when I want to test my pages, I don't know how can I have this same
behaviour in an easy way (not that familiar with Spring & tapestry).

I tried to do the same as in normal junit test, but does not seem to
implement my interfaces.

And when i bind them in appmoduletest-class, my autowired jdbctemplates are
not working (ofcourse since i never passed database-info).

Thanks in advance !


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Testing-pages-with-spring-usage-issue-tp5550640p5550640.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: Display textfield dynamically

2012-02-01 Thread WINDEY Pieter AWL-IT
Have a look at 
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1


-Original Message-
From: Markus Grell [mailto:tapes...@military.de]
Sent: Wednesday 1 February 2012 11:25
To: users@tapestry.apache.org
Subject: Display textfield dynamically

Greetings!

I have a form that display a select list. This list is filled with data
from a database query. Now I would like following behaviour but have no
clue on how to implement that:

I would like to add the option "Other" to the select list. A soon as this
option is choosen (without submitting the form), a textfield should appear
so that the user can add a value that is not available in the select list.

Any hints here how to achieve this?

Thanks
Markus



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




Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


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



Re: Dynamic pages to static

2011-10-18 Thread pieter
Just add a static page to your webapp folder should work

http://tapestry.apache.org/request-processing.html
http://tapestry.apache.org/request-processing.html 

"StaticFiles checks for URLs that are for static files (files that exist
inside the web context) and aborts the request, so that the servlet
container can handle the request normally."


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Dynamic-pages-to-static-tp4913427p4913464.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: Problem pushing application to production

2011-09-19 Thread pieter
that page you are referring to says: "If you want to make your entire
application secure:  " and then a method to add to you appModule.

If you do that (at least it was here the case) everything should work with
https & relative urls ...

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Problem-pushing-application-to-production-tp4817901p4818037.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: Error page recipe not working anymore after update to t5.2.6

2011-07-27 Thread pieter

nillehammer wrote:
> 
> I think, in the version you updated from there was no index page but still
> the start page mechanism.
> 

No i commented it out in my AppModule ...

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Error-page-recipe-not-working-anymore-after-update-to-t5-2-6-tp4615889p4637919.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: Error page recipe not working anymore after update to t5.2.6

2011-07-25 Thread pieter
Ok,

but something must have broken this solution, since it was working before
updating to latest version.
Anybody who has an idea what caused it?



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Error-page-recipe-not-working-anymore-after-update-to-t5-2-6-tp4615889p4630808.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



Error page recipe not working anymore after update to t5.2.6

2011-07-20 Thread pieter
Dear,

after updating project from 5.1.0.5 to version 5.2.6, i noticed that the
error page show/handling solution on
http://tapestry.apache.org/error-page-recipe.html  is not working anymore.
I never receive the error, i always see an existing page (but it's not the
page i requested since that one does not exist, but i see homepage or test
when i do test/error).


Is this solution broken due to new version, or do i have to change
something?


Thanks !

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Error-page-recipe-not-working-anymore-after-update-to-t5-2-6-tp4615889p4615889.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: org.apache.tapestry5.runtime.ComponentEventException

2011-03-01 Thread WINDEY Pieter AWL-IT
>>> Hi,
>>>Is there any way to convert the @Sessionstate user value to a string 
or a
>>>readable value?

Yes
user.toString() !





Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


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



RE: How to detect a change on a select ?

2011-02-16 Thread WINDEY Pieter AWL-IT
If I understand your question correctly, what you need is something like :

http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxselect1.



-Original Message-
From: Richard Hill [mailto:r...@su3analytics.com]
Sent: Wednesday 16 February 2011 11:28
To: Tapestry users
Subject: Re: How to detect a change on a select ?


onChangeFromYourSelect() should work. You've got a lowercase "c" in
"create", maybe this is the issue?



On Wed, 2011-02-16 at 02:09 -0800, Sylver wrote:
> Hy guys,
> i have a simple problem but i don't find the solution :/
> I have a select component with some value on it and i need to use the value
> when the user select it.
> But i'm stuck on step 1 because i don't succeed to detect when the user
> select a line.
>
> The id of the select : createFormA
> I tought i just needed to have a method like :
> onChangeFromcreateFormA() {
> System.out.println("test");
> }
> but it's not working (with onSuccess, onSelect...).
> I'm sure the solution is very simple but i don't find it :)
>
> Thanks !



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




Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


RE: can't get tynamo's tapestry-resteasy to work

2011-02-10 Thread WINDEY Pieter AWL-IT
Can't http://tynamo.org/tapestry-resteasy+guide help you?

Point 2 is adding it to appModule ...




-Original Message-
From: Ronald Luke [mailto:ronald.l...@ymail.com]
Sent: Thursday 10 February 2011 14:50
To: users@tapestry.apache.org
Subject: can't get tynamo's tapestry-resteasy to work

Hello, guys,

I couldn't get tapestry-resteasy to work. I used tapestry 5.2.4 quickstart
archetype to start a new project, then add tapestry-resteasy dependency to my
pom.xml. I have no idea how to make the " Type javax.ws.rs.core.Application"
present to the project. Please shed some light on this.

thanks a lot,

Ron

mvn -Djetty.port=8081 jetty:run
[INFO] Scanning for projects...
[INFO] 
[INFO] Building tapestryresteasytest Tapestry 5 Application
[INFO]task-segment: [jetty:run]
[INFO] 
[INFO] Preparing jetty:run
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [jetty:run {execution: default-cli}]
[INFO] Configuring Jetty for project: tapestryresteasytest Tapestry 5
Application
[INFO] Webapp source directory =
/home/ronald/Programming/NetBeansProjects/tapestryresteasytest/src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] web.xml file =
/home/ronald/Programming/NetBeansProjects/tapestryresteasytest/src/main/webapp/WEB-INF/web.xml

[INFO] Classes =
/home/ronald/Programming/NetBeansProjects/tapestryresteasytest/target/classes
2011-02-10 21:02:34.059::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
[INFO] Context path = /tapestryresteasytest
[INFO] Tmp directory =  determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] Webapp directory =
/home/ronald/Programming/NetBeansProjects/tapestryresteasytest/src/main/webapp
[INFO] Starting jetty 6.1.16 ...
2011-02-10 21:02:34.416::INFO:  jetty-6.1.16
2011-02-10 21:02:34.912::INFO:  No Transaction manager found - if your webapp
requires one, please configure one.
[INFO] ioc.RegistryBuilder Adding module definition for class
org.apache.tapestry5.ioc.services.TapestryIOCModule
[INFO] ioc.RegistryBuilder Adding module definition for class
org.tynamo.resteasy.ResteasyModule
2011-02-10 21:02:36.351::WARN:  failed app
java.lang.RuntimeException: Exception loading module(s) from manifest
jar:file:/home/ronald/.m2/repository/org/tynamo/tapestry-resteasy/0.2.1/tapestry-resteasy-0.2.1.jar!/META-INF/MANIFEST.MF:
 Failure loading Tapestry IoC module class org.tynamo.resteasy.ResteasyModule:
Type javax.ws.rs.core.Application not present
at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)

at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
at
org.apache.tapestry5.internal.TapestryAppInitializer.(TapestryAppInitializer.java:131)

at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:90)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:653)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
at
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124)

at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)

at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:222)
at
org.mortbay.component.AbstractLifeCy

RE: T5: getting json value in tml

2011-02-04 Thread WINDEY Pieter AWL-IT
Never done this before,
But ${js.get('name1')}  should show you your value.
See http://www.json.org/javadoc/org/json/JSONObject.html for more info


-Original Message-
From: Angelo C. [mailto:angelochen...@gmail.com]
Sent: Friday 4 February 2011 03:51
To: users@tapestry.apache.org
Subject: T5: getting json value in tml


Hi,

How to get the value of a json object in tml file, following does not work:

in page class:

public JSONObject getJS() {
   JSONObject js = new JSONObject();
   js.put("name1","123");
   return js;
}


in the tmp,

 ${js} // this shows key/value pair
 ${js.name1}  // does not show anything

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-getting-json-value-in-tml-tp3370385p3370385.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




Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is 
confidential and may contain information which is protected by intellectual 
property rights.
This information is intended for the exclusive use of the recipient(s) named 
above.
This e-mail does not constitute any binding relationship or offer toward any of 
the addressees.
If you are not one of the addressees , one of their employees or a proxy holder 
entitled to hand over this message to the addressee(s), any use of the 
information contained herein (e.g. reproduction, divulgation, communication or 
distribution,...) is prohibited.
If you have received this message in error, please notify the sender and 
destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be 
subject to data corruption, interception and unauthorized amendment, for which 
we accept no liability."


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



Re: t5: news feed

2011-01-28 Thread pieter

maybe this can help you

http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5/
http://blog.bolkey.com/2010/05/creating-a-news-feed-in-tapestry-5/ 
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t5-news-feed-tp3355405p3361070.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