Re: Override Header Names for Grid Component

2008-01-09 Thread Peter Stavrinides
I didn't seem to get any response, let me try rephrase this question, how do you customize the grid component, particularly the header... I want to add an icon or two, I noticed in the docs there is a GridColumns component as well, an example would really help me out. Thanks, Peter Peter Stav

Add a DOCTYPE?

2008-01-09 Thread Donyee
How to add a DOCTYPE in the tapestry tml page. I put " http://www.w3.org/TR/html4/strict.dtd";> " in the page. Error: java.lang.RuntimeException Namespace prefix for URI ' http://www.w3.org/XML/1998/namespace' is not defined. and in http://tapestry.apache.org/tapestry5/tapestry-core/guide/dom.htm

Re: Delegating or Redirecting from PageA to PageB in Tapestry 4.1.3 throws Exception

2008-01-09 Thread Andreas Andreou
Depends, cause i don't really know what you're after... If you want to forward to Page2 everytime Page1 is triggered, see pageValidate(PageEvent event) or pageBeginRender(pageEvent event) On Jan 9, 2008 1:34 AM, Senthil Sadasivam <[EMAIL PROTECTED]> wrote: > Thanks Andreou, > > If I cannot use fin

Re: T5: Acegi table name too long for Oracle 9i

2008-01-09 Thread Robin Helgelin
On Jan 9, 2008 12:38 AM, Franz Amador <[EMAIL PROTECTED]> wrote: > Actually, it's not my table. I presume it's being defined by > tapestry5-acegi, which is why I posted it here. It seems you are using the tapestry5-acegi-example? This example is using Hibernate the easiest way it can, it also us

Re: Patternstring for Email validator

2008-01-09 Thread Hugo Palma
Here's what i have in my custom email validator: private static String ATOM = "[^\\x00-\\x1F^\\(^\\)^\\<^\\>[EMAIL PROTECTED],^\\;^\\:^^\\\"^\\.^\\[^\\]^\\s]"; private static String DOMAIN = "(" + ATOM + "+(\\." + ATOM + "+)*"; private static String IP_DOMAIN = "\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[

T5 - onChange Event from Combobox

2008-01-09 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, I am using Tapestry 5 with my application. I am loading some data into a combo box using the below code snippet: ${currentFilter} Now, I want to write a 'onChangeEvent' for this combo in my Page class and get some more data relevant to the selected option. Please guide me how t

Patternstring for Email validator

2008-01-09 Thread mj123
I need a Regular expression that will validate an email adrress entered Currently I am using "[EMAIL PROTECTED],4}$" which is not doing the job it should follow these rules /** * Is the specified email valid? Checks against that the following rules * are complied with: * *

Re: T5 : declaration of pages and components packages from a library

2008-01-09 Thread Chris Lewis
While we're tossing out ideas, I accomplish the same thing without subclasses using layout components, which themselves (seamlessly) handle common CSS via @IncludeStyleSheet (or whatever its called). Any page (or component for that matter) that has specific styles (or scripts) can additionally

Re: Patternstring for Email validator

2008-01-09 Thread Ulrich Stärk
Have a look at the code for the 4.1 Email validator at http://tapestry.apache.org/tapestry4.1/apidocs/src-html/org/apache/tapestry/form/validator/Email.html That one should cover most cases. Uli mj123 schrieb: I need a Regular expression that will validate an email adrress entered Currently I

Re: [Announcement] t5components - now mavenized

2008-01-09 Thread Chris Lewis
Cool :-) Sven Homburg wrote: Hi there, the t5components library is now mavenized and implements two more components. project page with demo http://213.160.23.119:8080/t5components/ click here - --- best regards Sven --

T5 - onChange event from combo box

2008-01-09 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, I am using Tapestry 5 with my application. I am loading some data into a combo box using the below code snippet: ${currentFilter} Now, I want to write a 'onChangeEvent' for this combo in my Page class and get some more data relevant to the selected option. Please guide me how to d

Re: JSR-168/JSR-286 revisited --- what's happening at the 'neighbours'

2008-01-09 Thread Jan Vissers
Seems like my question/thread got hijacked. Just to set the record straight - I am not a fan of Wicket! I'm just interested in wondering whether Portlet Support in T5 is a wish that more of us share - only this way, we can try to convince T5's crew to add it in the first release. Regards, -J

Re: JSR-168/JSR-286 revisited --- what's happening at the 'neighbours'

2008-01-09 Thread Mark Horn
I would be interested in portlet support in T5 On 1/9/08, Jan Vissers <[EMAIL PROTECTED]> wrote: > Seems like my question/thread got hijacked. Just to set the record > straight - I am not a fan of Wicket! > > I'm just interested in wondering whether Portlet Support in T5 is a wish > that more of u

Re: JSR-168/JSR-286 revisited --- what's happening at the 'neighbours'

2008-01-09 Thread Michael Lake
Rather than posting to the list, it'd probably be more helpful to vote on the issue here: https://issues.apache.org/jira/browse/TAPESTRY-1304 -m Mark Horn wrote: I would be interested in portlet support in T5 On 1/9/08, Jan Vissers <[EMAIL PROTECTED]> wrote: Seems like my question/thread

Re: JSR-168/JSR-286 revisited --- what's happening at the 'neighbours'

2008-01-09 Thread Jan Vissers
Thank you for pointing that out! Go out and vote! Michael Lake wrote: Rather than posting to the list, it'd probably be more helpful to vote on the issue here: https://issues.apache.org/jira/browse/TAPESTRY-1304 -m Mark Horn wrote: I would be interested in portlet support in T5 On 1/9/08,

Re: Add a DOCTYPE?

2008-01-09 Thread Howard Lewis Ship
Which version of Tapestry are you using? On Jan 9, 2008 12:05 AM, Donyee <[EMAIL PROTECTED]> wrote: > How to add a DOCTYPE in the tapestry tml page. > I put " > "http://www.w3.org/TR/html4/strict.dtd";> > " in the page. > > Error: > java.lang.RuntimeException Namespace prefix for URI ' > http://w

Re: Add a DOCTYPE?

2008-01-09 Thread Chris Lewis
I'm not sure what the problem is. I use this just fine in my layout: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> Perhaps you can paste your code as well as version? I imagine that TODO you saw refers to validating the DTD against the actual document body, but I'm not certain.

Re: T5: Acegi table name too long for Oracle 9i

2008-01-09 Thread Franz Amador
Oops, you're right. I am using tapestry5-acegi-example, and I'd forgotten that it has me define the entities. I was thinking that they were being defined internally to tapestry5-acegi. I know enough of Hibernate to proceed from here. Thanks! - Original Message From: Robin Helgelin

Re: T5: beaneditform component error message

2008-01-09 Thread Franz Amador
Okay, that makes sense. If I define a component via @Component and refer to it in the template using t:id, then the template will use my defined component. Otherwise, the template will create an anonymous component. Is that right? The beaneditform variable in my example didn't do anything but

Re: T5: Acegi table name too long for Oracle 9i

2008-01-09 Thread Robin Helgelin
On Jan 9, 2008 7:06 PM, Franz Amador <[EMAIL PROTECTED]> wrote: > Oops, you're right. I am using tapestry5-acegi-example, and I'd forgotten > that it has me define the entities. I was thinking that they were being > defined internally to tapestry5-acegi. I know enough of Hibernate to proceed

Re: T5: beaneditform component error message

2008-01-09 Thread Howard Lewis Ship
On Jan 9, 2008 10:23 AM, Franz Amador <[EMAIL PROTECTED]> wrote: > Okay, that makes sense. If I define a component via @Component and refer to > it in the template using t:id, then the template will use my defined > component. Otherwise, the template will create an anonymous component. Is > t

T5: Annotations documentation [was Re: T5: beaneditform component error message]

2008-01-09 Thread Franz Amador
[Franz Amador] By the way, is there a list of Tapestry5 annotations and what they do? I haven't seen one on the web site or the wiki. [Howard Lewis Ship] I think the JavaDoc is a perfectly good reference. Okay, but it'd still be nice to know where to look for them. I've found these: tapestry

T5: easy url routing

2008-01-09 Thread Chris Lewis
Forgive me if a ticket already exists for this. I know that one of the Tapestry mantras is that the framework should create the URLs, but it is often desirable to have control over how they look. Some frameworks, most notably RoR, make this extremely easy. Is such a feature planned for T5? ch

Re: Add a DOCTYPE?

2008-01-09 Thread Donyee
I use T5.08-SNAPSHOT. my page: http://www.w3.org/TR/html4/strict.dtd";> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> ...

Re: T5: easy url routing

2008-01-09 Thread Howard Lewis Ship
It is not a high priority item, I believe there is an existing issue covering this area. On Jan 9, 2008 2:10 PM, Chris Lewis <[EMAIL PROTECTED]> wrote: > Forgive me if a ticket already exists for this. I know that one of the > Tapestry mantras is that the framework should create the URLs, but it i

Re: T5: Annotations documentation [was Re: T5: beaneditform component error message]

2008-01-09 Thread Howard Lewis Ship
Those are the main ones. In addition, there are marker annotations, used as part of service injection, scattered about. These are used to differentiate which particular service to inject when multiple services implement the same service interface. On Jan 9, 2008 1:22 PM, Franz Amador <[EMAIL PROT

Re: T5: easy url routing

2008-01-09 Thread Fernando Padilla
Isn't that what the ComponentResources createLink methods are for? Can we override the ComponentResources easily? Howard Lewis Ship wrote: > It is not a high priority item, I believe there is an existing issue > covering this area. > > On Jan 9, 2008 2:10 PM, Chris Lewis <[EMAIL PROTECTED]> wro

Re: Override Header Names for Grid Component

2008-01-09 Thread Howard Lewis Ship
Grid can be customized much like a cell; you provide a with the name "propertyheader" (that is, the property name with suffix "header") and you can put whatever you want into the header at that point. Tapestry will render the element, your parameter renders everything inside. On Jan 9, 2008 12:

Re: T5: easy url routing

2008-01-09 Thread Howard Lewis Ship
On Jan 9, 2008 5:23 PM, Fernando Padilla <[EMAIL PROTECTED]> wrote: > Isn't that what the ComponentResources createLink methods are for? No, that is how you gain access to the logic that knows how to create a URL for an action or render request. The details of that are all internal and subject to

Re: Add a DOCTYPE?

2008-01-09 Thread Donyee
T5.07 works fine! T5.08-SANPSHOT turns wrong! 2008/1/10, Donyee <[EMAIL PROTECTED]>: > > I use T5.08-SNAPSHOT. > my page: > > " http://www.w3.org/TR/html4/strict.dtd";> > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> > ... > -- 徐 依伟