Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-18 Thread Nillehammer
Hi Martin, sorry for late reply. I was busy the last two days. I have tried the solution you suggested and indeed it just works. That was realy easy! Not having found the solution myself after digging into the sources, I have to admit that I'm feeling a bit stupid now. Thanks a lot, for

T5: Theming Support

2011-06-17 Thread Angelo C.
Hi, T5.3.0 has Skin and Theming Support, any reference to these two great features? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Theming-Support-tp4500606p4500606.html Sent from the Tapestry - User mailing list archive at Nabble.com

T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Nillehammer
Hi List, I would like to replace the constant Strings in the method contributeApplicationDefaults in my AppModule. E.g. replace the following line: configuration.add(SymbolConstants.SUPPORTED_LOCALES, en,de); // don't like the en,de here. Would like to replace it. with something

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Lenny Primak
I use system properties. On Jun 16, 2011, at 6:28 PM, Nillehammer tapestry.nilleham...@winfonet.eu wrote: Hi List, I would like to replace the constant Strings in the method contributeApplicationDefaults in my AppModule. E.g. replace the following line:

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Nillehammer
Yeah, a possible way to go. But I'd like a more persistent solution hence the idea of using params in web.xml Am 17.06.2011 00:36, schrieb Lenny Primak: I use system properties. On Jun 16, 2011, at 6:28 PM, Nillehammertapestry.nilleham...@winfonet.eu wrote: Hi List, I would like to

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Martin Strand
ApplicationDefaults is only one of many SymbolProviders, you don't need to configure that specific SymbolProvider to set the supported locales. There are other options, including support for .properties files or system properties. I prefer context parameters myself, everything should just

T5 SAXParseException tStyle

2011-06-15 Thread ael
classpath:com/dash/t5wdb/pages/Index.tml org.xml.sax.SAXParseException The reference to entity tStyle must end with the ';' delimiter. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4490409.html Sent from the Tapestry - User mailing list archive

Re: T5 SAXParseException tStyle

2011-06-15 Thread Thiago H. de Paula Figueiredo
On Wed, 15 Jun 2011 04:39:19 -0300, ael alan-lua...@dash.com.ph wrote: Hi Hi! i want to add this in the header but tapestry wont allow. Failure parsing template classpath:com/dash/t5wdb/pages/Index.tml: The reference to entity tStyle must end with the ';' delimiter. It seems you used

Re: T5 SAXParseException tStyle

2011-06-15 Thread ael
? -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4493007.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: T5 SAXParseException tStyle

2011-06-15 Thread Thiago H. de Paula Figueiredo
On Wed, 15 Jun 2011 20:27:57 -0300, ael alan-lua...@dash.com.ph wrote: Hi Thiago, Hi! I want to add some weather forecast on my web generated by accuweather. But it is compose of which is tapestry wont allow. http://netweather.accuweather.com/signup-page1.asp?

Re: T5 SAXParseException tStyle

2011-06-15 Thread Josh Canfield
.asp? So how will i do a workaround for this? Any idea? -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4493007.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 SAXParseException tStyle

2011-06-15 Thread ael
Therefore i need to change there generated script. Thank i will try... -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4493059.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 SAXParseException tStyle

2011-06-15 Thread ael
Its working now.. Thank you very much... -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-SAXParseException-tStyle-tp4490409p4493113.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: t5: edit a bean without beaneditform

2011-06-14 Thread Geoff Callender
: form t:type=form label for=nameName/label input t:type=textfield value=person.name / input type=submit t:type=submit name=submit / /form -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-edit-a-bean-without-beaneditform-tp4382074p4382074.html

Escape character in T5 container element

2011-06-14 Thread Fernando Benjamin
Hi everybody, I have made a simple menu(Menu.tml) wich I am trying to use in the Layout.tml My menu.tml file t:container xmlns:t=http://tapestry.apache.org/schema/tapestry_5_1_0.xsd; xmlns:p=tapestry:parameter lia t:type=pagelink t:page=ViewTreatment href=#Idade/a lia t:type=pagelink

Re: Escape character in T5 container element

2011-06-14 Thread Josh Canfield
I get an exception because of the c cedille, can someone show me how to escape characters? I believe this is because your template file is supposed to be a valid XML document. You need to include a declaration for your escape character. HTML 4 has ccedil so try including it's doctype.

Re: Escape character in T5 container element

2011-06-14 Thread Fernando Benjamin
Thank you, that was the solution! Fernando On 14 June 2011 23:59, Josh Canfield joshcanfi...@gmail.com wrote: I get an exception because of the c cedille, can someone show me how to escape characters? I believe this is because your template file is supposed to be a valid XML document.

T5 Upload File View Guide/Example.

2011-06-13 Thread ael
.1045711.n5.nabble.com/T5-Upload-File-View-Guide-Example-tp4483459p4483459.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

T5 Bean Validation: How to override the property name in validation message?

2011-06-12 Thread Nillehammer
Hi List, I have switched from Tapestry's validation API to JSR 303 Bean Validation API. I have provided a message catalog in ValidationMessages.properties in the default package. It gets loaded and the localized error messages are displayed. Only one thing bothers me. The messages are

Re: [Snippet] T5: A mixin to rewrite the markup of element

2011-06-12 Thread Michael Gentry
In the past, I had trouble with IE6 and multiple buttons in a FORM. You couldn't distinguish which button was clicked on. I don't know if this issue still exists in IE7+ because I just stopped using BUTTON. Just something you may want to keep in mind if you have to support older versions of IE

Re: T5 Bean Validation: How to override the property name in validation message?

2011-06-12 Thread Nillehammer
Answering my own question. The solution turned out to be VERY easy. The validation message ist constructed by Tapestry's BeanFieldValidator. It reads the fields label to construct the prefix for the validation message. That can be customized by putting a field-id-label into the message

t5 friendly e commerce framework?

2011-06-11 Thread Angelo C.
Hi, I'm looking for a java based ecommerce software which should have been easier to include some modules written in T5, any suggestions? anybody tried jadasite.com? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-friendly-e-commerce-framework

[Snippet] T5: A mixin to rewrite the markup of element

2011-06-11 Thread Nillehammer
Tapestry's Submit component renders out as input type=submit. Since HTML 4.0 a submit button can be written as button type=submit. I prefer this approach, because it makes it easier to distinguish between real input elements (especially textfields) and buttons. I have created a JIRA request

Re: T5 Using DAO within a DAO causes NPE.

2011-06-09 Thread Taha Hafeez
neat though. Also contructor injection is another solution. Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4471238.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 Using DAO within a DAO causes NPE.

2011-06-09 Thread kristian marinkovic
.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4471238.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: T5: property expression language intelligence

2011-06-09 Thread Howard Lewis Ship
I understand where you are coming from, but I can't see this in the core. Robert identified my thinking at the time I introduced the naming aliases, and even that's a bit controversial. On Thu, May 26, 2011 at 3:58 PM, Adam Zimowski zimowsk...@gmail.com wrote: No prob. I'll just hire intern

T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467009.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467047.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

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread kristian marinkovic
Hi, Which inject annotation are you using? Chances are that you use the javax annotation that will be supported in 5.3 G, Kris Am 2011 6 8 08:06 schrieb ael alan-lua...@dash.com.ph:

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
No, i did not use javax. Its import org.apache.tapestry5.ioc.annotations.Inject; -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467432.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread kristian marinkovic
: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467432.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
TbGuestDAOHibernate(); dao.setSessionManager(sessionManager); return dao; } } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4468053.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread Taha Hafeez
(HibernateSessionManager) HibernateSessionManager sessionManager) { TbGuestDAOHibernate dao = new TbGuestDAOHibernate(); dao.setSessionManager(sessionManager); return dao; } } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread Thiago H. de Paula Figueiredo
On Wed, 08 Jun 2011 04:20:02 -0300, ael alan-lua...@dash.com.ph wrote: public static AuthenticationDAO buildAuthenticationDAO( @InjectService(HibernateSessionManager) HibernateSessionManager sessionManager) { AuthenticationDAOHibernate dao = new

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread ael
I always make life complicated. Well just inject the DAO within pages. problem solved. But still i want to make my page class neat though. Also contructor injection is another solution. Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO

Re: T5 Using DAO within a DAO causes NPE.

2011-06-08 Thread kristian marinkovic
. Also contructor injection is another solution. Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4471238.html Sent from the Tapestry - User mailing list archive at Nabble.com

T5 XSL component

2011-06-08 Thread Greg Pagendam-Turner
Has anyone written a component to render by transforming a passed in stylesheet and xml document? Regards, Greg. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail:

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread ael
Already found the problem. I don't understand why file variable is null? Any idea's? -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4458015.html Sent from the Tapestry - User mailing list

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread ael
: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4458032.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread Thiago H. de Paula Figueiredo
On Mon, 06 Jun 2011 05:55:44 -0300, ael alan-lua...@dash.com.ph wrote: SIGH... This is a limitation of Tapestry you cannot use AJAX in Uploading Files. How SAD!!! http://tapestry.1045711.n5.nabble.com/tapestry-upload-and-zones-td3425668.html Why? Repeating what I wrote in the thread you

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread Taha Hafeez
For ajax you can try this http://tapestry.1045711.n5.nabble.com/Modalbox-Integration-Example-tp4248936p4369409.html regards Taha On Mon, Jun 6, 2011 at 4:46 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 06 Jun 2011 05:55:44 -0300, ael alan-lua...@dash.com.ph wrote:

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread Taha Hafeez
Sorry wrong link. This is the correct one http://tapestry.1045711.n5.nabble.com/Tapestry-FileUploader-Integration-tp4268987p4269518.html regards Taha On Mon, Jun 6, 2011 at 7:46 PM, Taha Hafeez tawus.tapes...@gmail.comwrote: For ajax you can try this

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-06-06 Thread ael
I will try this one... Thanks :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4460300.html Sent from the Tapestry - User mailing list archive at Nabble.com

T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread ael
.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4438497.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread Taha Hafeez
) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) java.lang.Thread.run(Thread.java:662) -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4438497.html Sent from the Tapestry - User

Re: T5 Locale problem

2011-05-30 Thread atcach
://tapestry.1045711.n5.nabble.com/T5-Locale-problem-tp4428763p4439485.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

Re: T5 5.2.4 NPE org.apache.tapestry5.runtime.ComponentEventException

2011-05-30 Thread ael
=historyBlock History Block /t:block /html -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4440500.html Sent from the Tapestry - User mailing list archive at Nabble.com

T5 Prevent user from multiple login

2011-05-28 Thread Denoite
Hi! I would like to prevent users from login in multiple times at a time. Is there a simple way to do that wit T5? Thanks a lot. Jo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e

Re: T5 Prevent user from multiple login

2011-05-28 Thread Joost Schouten (ml)
on the second request. Cheers, Joost On 28/05/11 3:16 PM, Denoite wrote: Hi! I would like to prevent users from login in multiple times at a time. Is there a simple way to do that wit T5? Thanks a lot. Jo - To unsubscribe, e-mail

Re: T5 Prevent user from multiple login

2011-05-28 Thread Thiago H. de Paula Figueiredo
On Sat, 28 May 2011 10:16:38 -0300, Denoite deno...@yahoo.de wrote: Hi! Hi! I would like to prevent users from login in multiple times at a time. Is there a simple way to do that wit T5? Nothing specific to Tapestry itself, as this is a business rule, not a web tier one. Just have

Re: T5: property expression language intelligence

2011-05-26 Thread Geoff Callender
-1 for me. I can see it causing immense confusion in normal maintenance work esp. when refactoring. Geoff On 26/05/2011, at 8:26 AM, Bob Harner wrote: Seems like unnecessary complexity to me. Bob Harner On May 25, 2011 5:51 PM, Adam Zimowski zimowsk...@gmail.com wrote: Guys - it is

Re: A new T5 site! www.bookmarkerpro.com

2011-05-26 Thread David Canteros
with the technology (I would post it to the Tapestry wiki, but this requires an ICLA which requires me to print out and post a form so haven't quite managed to get around to that yet...!) For what it's worth this is now our 3'rd T5 based site, dating back to 2008. On Wed, 2011-05-25 at 08:46

Re: T5: property expression language intelligence

2011-05-26 Thread Lenny Primak
Exactly the same can be said for URL de-duping. On May 26, 2011, at 10:06 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: -1 for me. I can see it causing immense confusion in normal maintenance work esp. when refactoring. Geoff On 26/05/2011, at 8:26 AM, Bob Harner

T5 Locale problem

2011-05-26 Thread atcach
Hi, I'm struggling reading a Pentaho Report. The report is mainly a jar file with xml's inside. If I compile it from outside tapestry it works ok. But in my T5 project, I'm getting: org.pentaho.reporting.libraries.resourceloader.ResourceCreationException: Unable to parse the document: ResourceKey

Re: T5: property expression language intelligence

2011-05-26 Thread Thiago H. de Paula Figueiredo
On Thu, 26 May 2011 11:06:44 -0300, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: -1 for me. I can see it causing immense confusion in normal maintenance work esp. when refactoring. -1 to me. The less to understand, the better. -- Thiago H. de Paula Figueiredo Independent

Re: T5 Locale problem

2011-05-26 Thread Josh Canfield
compile it from outside tapestry it works ok. But in my T5 project, I'm getting: org.pentaho.reporting.libraries.resourceloader.ResourceCreationException: Unable to parse the document: ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader, identifier

Re: T5 Locale problem

2011-05-26 Thread Josh Canfield
it from outside tapestry it works ok. But in my T5 project, I'm getting: org.pentaho.reporting.libraries.resourceloader.ResourceCreationException: Unable to parse the document: ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader, identifier=mimetype

Re: T5 Locale problem

2011-05-26 Thread atcach
it be that the configuration of the tapestry/jetty is wrong ? How could I configure it ? Regards -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Locale-problem-tp4428763p4429959.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5 Locale problem

2011-05-26 Thread atcach
6f 6e 74 65 6e 74 20 F-8?.content Which is quite right, isn't it ? As: UTF-8 BOM: ef bb bf UTF-16BE BOM: fe ff UTF-16LE BOM: ff fe UTF-32BE BOM: 00 00 fe ff UTF-32LE BOM: ff fe 00 00 Regards -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Locale-problem

Re: T5 Locale problem

2011-05-26 Thread Josh Canfield
bf  UTF-16BE BOM: fe ff  UTF-16LE BOM: ff fe  UTF-32BE BOM: 00 00 fe ff  UTF-32LE BOM: ff fe 00 00 Regards -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Locale-problem-tp4428763p4429973.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5: property expression language intelligence

2011-05-26 Thread Adam Zimowski
No prob. I'll just hire intern monkeys to do all that unnecessary typing for me :-) Just kidding. Thanks for your feedback. On Thu, May 26, 2011 at 9:44 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Thu, 26 May 2011 11:06:44 -0300, Geoff Callender

Re: A new T5 site! www.bookmarkerpro.com

2011-05-25 Thread George Banus
for their site. That's easy and free as in beer! :-) On Tue, May 24, 2011 at 5:59 PM, Joel Halbert j...@su3analytics.com wrote: The front of site www.bookmarkerpro.com is wordpress, but this is only a few pages. ALL of the backend, on the app sub-domain, app.bookmarkerpro.com is T5. It also

Re: A new T5 site! www.bookmarkerpro.com

2011-05-25 Thread Richard Hill
! :-) On Tue, May 24, 2011 at 5:59 PM, Joel Halbert j...@su3analytics.com wrote: The front of site www.bookmarkerpro.com is wordpress, but this is only a few pages. ALL of the backend, on the app sub-domain, app.bookmarkerpro.com is T5. It also integrates with Lucene, HBase, OpenJPA our

Re: A new T5 site! www.bookmarkerpro.com

2011-05-25 Thread Bob Harner
: The front of site www.bookmarkerpro.com is wordpress, but this is only a few pages. ALL of the backend, on the app sub-domain, app.bookmarkerpro.com is T5. It also integrates with Lucene, HBase, OpenJPA our crawler. If you want to have a play you just need an email/passwd to register

Re: A new T5 site! www.bookmarkerpro.com

2011-05-25 Thread Thiago H. de Paula Figueiredo
On Wed, 25 May 2011 06:47:57 -0300, George Banus georgeba...@gmail.com wrote: Wao, what a brilliant idea to gain some popularity for your site. What do you mean by you use Tapestry for the backend? Tapestry is a front end technology. I think people doing their site with PHP can also come here

Re: A new T5 site! www.bookmarkerpro.com

2011-05-25 Thread Richard Hill
and free as in beer! :-) On Tue, May 24, 2011 at 5:59 PM, Joel Halbert j...@su3analytics.com wrote: The front of site www.bookmarkerpro.com is wordpress, but this is only a few pages. ALL of the backend, on the app sub-domain, app.bookmarkerpro.com is T5. It also integrates

T5: property expression language intelligence

2011-05-25 Thread Adam Zimowski
Since Tapestry already does tricks to clean up URL naming redundancy, it would be nice if it did the same with the expression language. For example: // Bean class Order { public String getOrderDescription() {...} } // Page public Order getOrder() { //... } // TML Instead of having to say this:

Re: T5: property expression language intelligence

2011-05-25 Thread Lenny Primak
At first glance, seems like a fantastic idea! On May 25, 2011, at 1:19 PM, Adam Zimowski wrote: Since Tapestry already does tricks to clean up URL naming redundancy, it would be nice if it did the same with the expression language. For example: // Bean class Order { public String

Re: T5: property expression language intelligence

2011-05-25 Thread Adam Zimowski
In the project I'm working on, I don't have control over Bean design, so this would be nice to have. Also, for beans like this one: class Order { public String getOrderDescription(); public String getDescription(); } Tapestry could simply work as it does today and not apply property prefix

Re: T5: property expression language intelligence

2011-05-25 Thread Taha Hafeez
Hi Seems like a good idea. These are side-effects of tapestry. It makes you very lazy :) regards Taha On Wed, May 25, 2011 at 10:59 PM, Adam Zimowski zimowsk...@gmail.comwrote: In the project I'm working on, I don't have control over Bean design, so this would be nice to have. Also, for

Re: T5: property expression language intelligence

2011-05-25 Thread Josh Canfield
class Order {  public String getOrderDescription();  public String getDescription(); } Tapestry could simply work as it does today and not apply property prefix stripping. This example is exactly why you would not want tapestry to do this. If someone changes your bean definition now all of

Re: T5: property expression language intelligence

2011-05-25 Thread Lenny Primak
This is such an extreme example and can be easily caught - I.e. Tapestry can say ambiguous/duplicate property' or some such. On May 25, 2011, at 2:27 PM, Josh Canfield joshcanfi...@gmail.com wrote: class Order { public String getOrderDescription(); public String getDescription(); }

Re: T5: property expression language intelligence

2011-05-25 Thread Josh Canfield
This is such an extreme example and can be easily caught - I.e. Tapestry can say ambiguous/duplicate property' or some such. :) I'm all about the edge cases. In this case the OP doesn't get to define his beans so he's going to have to fall back to some other method of accessing that field. You

Re: T5: property expression language intelligence

2011-05-25 Thread Lenny Primak
I think in this particular case the bean should fail as being ambiguous ie multiply defined property. On May 25, 2011, at 4:35 PM, Josh Canfield joshcanfi...@gmail.com wrote: This is such an extreme example and can be easily caught - I.e. Tapestry can say ambiguous/duplicate property' or

Re: T5: property expression language intelligence

2011-05-25 Thread Robert Zeigler
And if you can't modify the bean to resolve the ambiguity? :) It's an interesting idea, but I think it has too much potential for confusion + backwards-compatibility issues. Frankly, I'm not super keen on the page-name stripping, but I can tolerate that because they are tapestry pages behaving

Re: T5: property expression language intelligence

2011-05-25 Thread Lenny Primak
The bean can be proxies or wrapped in an extreme case. I am all for 99% solution and like my baby but not the bath water. On May 25, 2011, at 5:09 PM, Robert Zeigler robert.zeig...@roxanemy.com wrote: And if you can't modify the bean to resolve the ambiguity? :) It's an interesting

Re: T5: property expression language intelligence

2011-05-25 Thread Martin Strand
I agree with Robert. Also, the purpose of page-name stripping (as I understand it) was never to save a few characters when typing. It was to let page classes have unique and explicit names but still give them pretty URLs (where words are not repeated) /edit/user-- pages.edit.EditUser

Re: T5: property expression language intelligence

2011-05-25 Thread Adam Zimowski
Guys - it is interesting to see your perspectives, I appreciate this. What if this could be a configurable setting? I have several beans like this and a very large app. Quite frankly, it's become more than annoyance at this point. Besides, the TML code is loaded with unnecessary prefixes and

Re: T5: property expression language intelligence

2011-05-25 Thread Bob Harner
Seems like unnecessary complexity to me. Bob Harner On May 25, 2011 5:51 PM, Adam Zimowski zimowsk...@gmail.com wrote: Guys - it is interesting to see your perspectives, I appreciate this. What if this could be a configurable setting? I have several beans like this and a very large app. Quite

A new T5 site! www.bookmarkerpro.com

2011-05-24 Thread Joel Halbert
bookmarked pages to kindle/ipad/iphone for offline viewing. The front end is wordpress (yawn) buy the back-end is all T5 (yay!) goodness . If you'd like to try it out you can sign up in less than 10 seconds, all you need is an email/password. We'd love to get your feedback. http

Re: A new T5 site! www.bookmarkerpro.com

2011-05-24 Thread Howard Lewis Ship
How far do you have to get into it to see the T5 part ... or are you just using tapestry-ioc for back end processing? Just curious. On Tue, May 24, 2011 at 7:34 AM, Joel Halbert j...@su3analytics.com wrote: Hi Folks, We've just released (another) Tapestry5 based site! www.bookmarkerpro.com

Re: A new T5 site! www.bookmarkerpro.com

2011-05-24 Thread Joel Halbert
The front of site www.bookmarkerpro.com is wordpress, but this is only a few pages. ALL of the backend, on the app sub-domain, app.bookmarkerpro.com is T5. It also integrates with Lucene, HBase, OpenJPA our crawler. If you want to have a play you just need an email/passwd to register

T5: Deploy to tomcat 6 from Eclipse 3 IDE for Java Developers

2011-05-22 Thread Denoite
Hi, i'm pretty new to T5 and i've created my first app with the tutorial, everything is running fine with jetty and Eclipse. Now i want to deploy my app to tomcat 6 as a WAR. But like in the tutorial, i'm running Eclipse 3 IDE for Java Developers. There is no option to export a WAR. How

Re: T5: Deploy to tomcat 6 from Eclipse 3 IDE for Java Developers

2011-05-22 Thread Thiago H. de Paula Figueiredo
On Sun, 22 May 2011 10:07:33 -0300, Denoite deno...@yahoo.de wrote: Hi, Hi! i'm pretty new to T5 and i've created my first app with the tutorial, everything is running fine with jetty and Eclipse. Now i want to deploy my app to tomcat 6 as a WAR. I suggest using Jetty (through

T5 Deletion of the uploaded file?

2011-05-17 Thread ael
.nabble.com/T5-Deletion-of-the-uploaded-file-tp4405584p4405584.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

Re: t5: T5 friendly e commerce software?

2011-05-12 Thread Ben Gidley
to share surce code of your web site ,http://www.toplicht.de/, written with Tapestry? I would be interested in researching to build my own web site. Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-T5-friendly-e-commerce-software-tp2432523p4387910.html Sent

Re: t5: T5 friendly e commerce software?

2011-05-12 Thread Adam Zimowski
, customized deployment. We are planning on launching T5 version early 2012 of these sites, after which we may open source it due to small internal team. Our T5 ported platform is designed from scratch with possibility of open sourcing in mind. Open Source: T5 (application) - API (business logic) Keep

Re: t5: T5 friendly e commerce software?

2011-05-11 Thread Erol Akarsu
Hi Lutz, Do you have plan to share surce code of your web site ,http://www.toplicht.de/, written with Tapestry? I would be interested in researching to build my own web site. Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-T5-friendly-e-commerce-software

Re: Using iframe to include a T5 page

2011-05-09 Thread Joost Schouten (ml)
, Joost On 9/05/11 4:48 AM, Angelo C. wrote: Hi, This seems not too much related to T5, sorry. here is my situation: two t5 applications, A1 and A2, A1's pageA use iframe to include A2's pageB, and the pageB onSuccess returns new URL(http://localhost/A1/done/;); this works, the only problem

t5: edit a bean without beaneditform

2011-05-09 Thread Angelo C.
this message in context: http://tapestry.1045711.n5.nabble.com/t5-edit-a-bean-without-beaneditform-tp4382074p4382074.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: t5: edit a bean without beaneditform

2011-05-09 Thread Josh Canfield
)            person = new Person();    } } tml: form t:type=form        label for=nameName/label    input t:type=textfield  value=person.name  /     input type=submit t:type=submit name=submit / /form -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-edit-a-bean

Using iframe to include a T5 page

2011-05-08 Thread Angelo C.
Hi, This seems not too much related to T5, sorry. here is my situation: two t5 applications, A1 and A2, A1's pageA use iframe to include A2's pageB, and the pageB onSuccess returns new URL(http://localhost/A1/done/;); this works, the only problem is, after returning from A2, http://localhost/A1

T5: this is cool - composition over inheritance

2011-05-04 Thread Adam Zimowski
Another lovely day with Tapestry! Inspired by Taha's blog entry on Tapestry Magic, our app instead of this mess: public class OrderHistoryPage extends AuthenticatedPage looks sexy like never before with this: @RequiresLogin(ssoClass= UserUiBean.class, pageClass= Login.class) public class

Re: T5: this is cool - composition over inheritance

2011-05-04 Thread Thiago H. de Paula Figueiredo
I wouldn't call this composition (IMHO it's a class transformation), but this is really cool and shows how flexible, reusable and all-around awesome Tapestry is. :) On Wed, 04 May 2011 15:34:48 -0300, Adam Zimowski zimowsk...@gmail.com wrote: Another lovely day with Tapestry! Inspired

Re: T5: this is cool - composition over inheritance

2011-05-04 Thread Howard Lewis Ship
On Wed, May 4, 2011 at 11:42 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: I wouldn't call this composition (IMHO it's a class transformation), but this is really cool and shows how flexible, reusable and all-around awesome Tapestry is. :) Semantics. The class transformation,

Insight: T5 is a compiler

2011-04-28 Thread Pierce T. Wetter III
framework while running. Unlike a lot of other frameworks that are essentially running as interpreters, Tapestry runs as compiled code. The key insight here is something I've known about T5 for a while: Your .java files and .tml files are just the starting point; they're essentially

Re: Insight: T5 is a compiler

2011-04-28 Thread Howard Lewis Ship
a lot of other frameworks that are essentially running as interpreters, Tapestry runs as compiled code.   The key insight here is something I've known about T5 for a while: Your .java files and .tml files are just the starting point; they're essentially declarations that are re-interpreted

T5: @Cached(watch) parameter requires public property

2011-04-28 Thread Adam Zimowski
Hi Again - Is there a specific reason why watch parameter for @Cached annotation requires public property when using default prop binding? This is an inconvenient limitation IMO, as I don't necessarily want to expose my watch property publicly. For example, my watch on getShoppingCart may be

Re: Insight: T5 is a compiler

2011-04-28 Thread Pierce T. Wetter III
, Tapestry runs as compiled code. The key insight here is something I've known about T5 for a while: Your .java files and .tml files are just the starting point; they're essentially declarations that are re-interpreted by T5 to produce a lot of stuff behind the scenes. You may think that you have

Re: T5: @Cached(watch) parameter requires public property

2011-04-28 Thread Thiago H. de Paula Figueiredo
On Thu, 28 Apr 2011 17:38:01 -0300, Adam Zimowski zimowsk...@gmail.com wrote: Hi Again - Hi! Is there a specific reason why watch parameter for @Cached annotation requires public property when using default prop binding? I'd guess the JVM bytecode verifier would complain about invalid

<    1   2   3   4   5   6   7   8   9   10   >