Re: Does Tapestry5 support Portlets specs JSR168 and 286

2007-12-29 Thread Jan Vissers
 Add me to the portlet petition;

Me too!

 Add me to the portlet petition; we're about to start development on a
 portal
 with Liferay and it would be great to have portlet support in T5.

 Regards,

 D


 On 12/28/07, Emmanuel Sowah [EMAIL PROTECTED] wrote:

 Howard,

 Well, left me alone, I would say instead of the effort to support
 Portlets
 in T5, spend that in making T5 backward compatible to T4 and T3. You
 would
 save many people a lot of misery in migrating.

 E.

 On Dec 28, 2007 11:24 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote:

  It's really the other way around; a Portlet is defined in terms of a
  T5 application, where the application pages are mapped to different
  views of the portlet. A portal would contain many portlets, some T5
  applications, some natively implemented.
 
  On Dec 28, 2007 11:19 AM, Michael Lake [EMAIL PROTECTED] wrote:
  
  
   would it be completely ridiculous for a T5 component to house a
   portlet? is that at all feasible?
  
   -mike
  
  
   On Dec 28, 2007, at 2:06 PM, Howard Lewis Ship wrote:
  
Currently there are not plans to support Portlets in T5 for the
initial release. If there is enough interest, it will be added as
 a
follow on. It will be much easier to add to T5 than it was to T4,
since a lot of the ideas in T5 came from T4 and its portlet
 support.
such as the action request / render request split present in T5
 (and
in portlets).
   
On Dec 28, 2007 10:09 AM, Cardenas, Juan Carlos
[EMAIL PROTECTED] wrote:
I can't seem to find a reference in the documentation.
   
I know Tapestry4 at least covers 168
   
What are the plans for covering JSR 286 Portlet 2.0 spec?
   
Carlos
   
   
   
   
--
Howard M. Lewis Ship
   
Creator Apache Tapestry and Apache HiveMind
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
  --
  Howard M. Lewis Ship
 
  Creator Apache Tapestry and Apache HiveMind
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




 --
 What the world needs is more geniuses with humility, there are so few of
 us
 left.
 Oscar Levant




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



Re: T5-Intellij: 5.0.7 in pom.xml

2007-12-29 Thread Sven Homburg

press the synchronize icon in your maven project panel


texomaleo wrote:
 
 I changed the tapestry-release-version in my pom.xml to 5.0.7 in the
 pom.xml that was generated by the quickstart maven  call when 5.0.6
 was the latest.
 
 The Libraries tree branch in my Idea project view is still showing
 5.0.6 tapestry libs, even after an IDE restart.
 
 Thoughts?
 
 Bill
 
 -- 
 As I grow to understand life less and less I grow to love it more and
 more.
 
 -- Jules Reynard
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-
---
best regards
Sven
-- 
View this message in context: 
http://www.nabble.com/T5-Intellij%3A-5.0.7-in-pom.xml-tp14533852p14536585.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



T5-How to load data into Combo

2007-12-29 Thread Yeeswara Nadapana (HCL Financial Services)

Hi,

 

How can I load the data into my select box which I got from the
database. Currently I am getting an ArrayList of String objects which I
need to add to my select. Please guide me how to do that, as I am
unable to find a solution through ENUMs...

 

Thanks

Yeeswar



DISCLAIMER:
---
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.
---

Temporary objects in OGNL

2007-12-29 Thread Kaspar Fischer

Hi!

My Tapestry markup quite often contains repetitions like this:

 span jwcid=@If  
condition=ognl:components.table.tableRow.getProperty('title')! 
=nullcomponents.table.tableRow.getProperty('title').length()0
  span jwcid=@Insert  
value=ognl:components.table.tableRow.getProperty('title')/span

 /span
 span jwcid=@Else key=untitled-document/

Is there an easy way to assign the result of a complicated (and  
potentially

expensive) OGNL expression to a temporary object and reuse this later?

Something like:

  span jwcid=@Remember  
value=ognl:components.table.tableRow.getProperty('title') name=that

span jwcid=@If condition=ognl:that!=nullthat.length()0
  ...

Or is there another trick I've overseen?

Thanks,
Kaspar


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



Re: T5-Intellij: 5.0.7 in pom.xml

2007-12-29 Thread Joachim Van der Auwera

mvn idea:idea

Joachim

Bill Holloway wrote:

I changed the tapestry-release-version in my pom.xml to 5.0.7 in the
pom.xml that was generated by the quickstart maven  call when 5.0.6
was the latest.

The Libraries tree branch in my Idea project view is still showing
5.0.6 tapestry libs, even after an IDE restart.

Thoughts?

Bill

  



--
Joachim Van der Auwera
PROGS bvba, progs.be


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



T5: Is the tml-extension configurable?

2007-12-29 Thread Onno Scheffers

Hi,

it's been a while since I last used Tapestry. My last couple of projects 
were based on Wicket, simply because that's what the customer wanted. I 
prefer Tapestry myself and I've just started looking at Tapestry 5. It 
looks very promising so far. The only real annoyance for me is the fact 
that I have to use the .tml extension for my templates.


I've read the discussions on it and I understand where it comes from. 
But the reason I've been able to use Tapestry for some big projects has 
been the simple fact that I can seamlessly use templates sent to my by 
external web designers and if changes need to be made to those files, 
those designers can do it with the Tapestry jwcid's still in it (the 
HTML is always kept as close to the original as possible).


All external web designers deliver xhtml files with an html extension or 
xhtml extension. It is annoying to have to rename all those files just 
to be able to use them. In practice this will also mean having to rename 
them back before the designers can update those files, since we might 
have a different designers for each updates or project and training them 
will probably take longer than renaming the files.


Also the html may contain links to static html pages like helpfiles. In 
essence renaming the files means we also have to change those links 
inside the markup every time. This gets in the way of productivity and 
could introduces errors.


It would really help me if I could just configure Tapestry to support 
the .html extension again instead of the .tml extension.

Is this possible or planned for a future release?


Regards,

Onno

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



Re: T5: Is the tml-extension configurable?

2007-12-29 Thread Sven Homburg

yes, all is possible,
but not easy:

you must overwrite some method/classes of tapestry

- contributeResourceDigestGenerator in
org.apache.tapestry.services.TapestryModule
- org.apache.tapestry.internal.services.ComponentTemplateSourceImpl
- org.apache.tapestry.internal.services.PageTemplateLocatorImpl
- org.apache.tapestry.internal.services.StaticFilesFilter

but i think its not recommendable to do this, because
you must change some internal services.


Onno Scheffers-3 wrote:
 
 Hi,
 
 it's been a while since I last used Tapestry. My last couple of projects 
 were based on Wicket, simply because that's what the customer wanted. I 
 prefer Tapestry myself and I've just started looking at Tapestry 5. It 
 looks very promising so far. The only real annoyance for me is the fact 
 that I have to use the .tml extension for my templates.
 
 I've read the discussions on it and I understand where it comes from. 
 But the reason I've been able to use Tapestry for some big projects has 
 been the simple fact that I can seamlessly use templates sent to my by 
 external web designers and if changes need to be made to those files, 
 those designers can do it with the Tapestry jwcid's still in it (the 
 HTML is always kept as close to the original as possible).
 
 All external web designers deliver xhtml files with an html extension or 
 xhtml extension. It is annoying to have to rename all those files just 
 to be able to use them. In practice this will also mean having to rename 
 them back before the designers can update those files, since we might 
 have a different designers for each updates or project and training them 
 will probably take longer than renaming the files.
 
 Also the html may contain links to static html pages like helpfiles. In 
 essence renaming the files means we also have to change those links 
 inside the markup every time. This gets in the way of productivity and 
 could introduces errors.
 
 It would really help me if I could just configure Tapestry to support 
 the .html extension again instead of the .tml extension.
 Is this possible or planned for a future release?
 
 
 Regards,
 
 Onno
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-
---
best regards
Sven
-- 
View this message in context: 
http://www.nabble.com/T5%3A-Is-the-tml-extension-configurable--tp14538352p14538815.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: T5: Is the tml-extension configurable?

2007-12-29 Thread Onno Scheffers

Hi Sven,

so it looks like it is not currently configurable, but it can be worked 
around.
I sill hope it will be made configurable in the future, but for now I 
will see what I can accomplish with your advice. Thanks a lot.



Regards,

Onno




yes, all is possible,
but not easy:

you must overwrite some method/classes of tapestry

- contributeResourceDigestGenerator in
org.apache.tapestry.services.TapestryModule
- org.apache.tapestry.internal.services.ComponentTemplateSourceImpl
- org.apache.tapestry.internal.services.PageTemplateLocatorImpl
- org.apache.tapestry.internal.services.StaticFilesFilter

but i think its not recommendable to do this, because
you must change some internal services.


Onno Scheffers-3 wrote:
  

Hi,

it's been a while since I last used Tapestry. My last couple of projects 
were based on Wicket, simply because that's what the customer wanted. I 
prefer Tapestry myself and I've just started looking at Tapestry 5. It 
looks very promising so far. The only real annoyance for me is the fact 
that I have to use the .tml extension for my templates.


I've read the discussions on it and I understand where it comes from. 
But the reason I've been able to use Tapestry for some big projects has 
been the simple fact that I can seamlessly use templates sent to my by 
external web designers and if changes need to be made to those files, 
those designers can do it with the Tapestry jwcid's still in it (the 
HTML is always kept as close to the original as possible).


All external web designers deliver xhtml files with an html extension or 
xhtml extension. It is annoying to have to rename all those files just 
to be able to use them. In practice this will also mean having to rename 
them back before the designers can update those files, since we might 
have a different designers for each updates or project and training them 
will probably take longer than renaming the files.


Also the html may contain links to static html pages like helpfiles. In 
essence renaming the files means we also have to change those links 
inside the markup every time. This gets in the way of productivity and 
could introduces errors.


It would really help me if I could just configure Tapestry to support 
the .html extension again instead of the .tml extension.

Is this possible or planned for a future release?


Regards,

Onno

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







-
---
best regards
Sven
  



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



Re: T5: Is the tml-extension configurable?

2007-12-29 Thread Michael Lake




if your designers are only designing pages and not components that  
will end up in your app's context root (not packaged away in a jar)  
then you could probably get away with just contributing a  
PageTemplateLocator in your AppModule. i reckon the odds of that impl  
changing soon are relatively slim and it's not a complex class at all.


Otherwise, if you changed it for reading templates from the classpath,  
then components dropped in by 3rd party developers wouldn't work  
because they'd have the wrong extension


-mike lake


On Dec 29, 2007, at 11:05 AM, Sven Homburg wrote:



yes, all is possible,
but not easy:

you must overwrite some method/classes of tapestry

- contributeResourceDigestGenerator in
org.apache.tapestry.services.TapestryModule
- org.apache.tapestry.internal.services.ComponentTemplateSourceImpl
- org.apache.tapestry.internal.services.PageTemplateLocatorImpl
- org.apache.tapestry.internal.services.StaticFilesFilter

but i think its not recommendable to do this, because
you must change some internal services.


Onno Scheffers-3 wrote:


Hi,

it's been a while since I last used Tapestry. My last couple of  
projects
were based on Wicket, simply because that's what the customer  
wanted. I
prefer Tapestry myself and I've just started looking at Tapestry 5.  
It
looks very promising so far. The only real annoyance for me is the  
fact

that I have to use the .tml extension for my templates.

I've read the discussions on it and I understand where it comes from.
But the reason I've been able to use Tapestry for some big projects  
has
been the simple fact that I can seamlessly use templates sent to my  
by

external web designers and if changes need to be made to those files,
those designers can do it with the Tapestry jwcid's still in it (the
HTML is always kept as close to the original as possible).

All external web designers deliver xhtml files with an html  
extension or
xhtml extension. It is annoying to have to rename all those files  
just
to be able to use them. In practice this will also mean having to  
rename

them back before the designers can update those files, since we might
have a different designers for each updates or project and training  
them

will probably take longer than renaming the files.

Also the html may contain links to static html pages like  
helpfiles. In

essence renaming the files means we also have to change those links
inside the markup every time. This gets in the way of productivity  
and

could introduces errors.

It would really help me if I could just configure Tapestry to support
the .html extension again instead of the .tml extension.
Is this possible or planned for a future release?


Regards,

Onno

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






-
---
best regards
Sven
--
View this message in context: 
http://www.nabble.com/T5%3A-Is-the-tml-extension-configurable--tp14538352p14538815.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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




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



Re: T5: Is the tml-extension configurable?

2007-12-29 Thread Sven Homburg

100% approval

Michael Lake-2 wrote:
 
 
 
 
 if your designers are only designing pages and not components that  
 will end up in your app's context root (not packaged away in a jar)  
 then you could probably get away with just contributing a  
 PageTemplateLocator in your AppModule. i reckon the odds of that impl  
 changing soon are relatively slim and it's not a complex class at all.
 
 Otherwise, if you changed it for reading templates from the classpath,  
 then components dropped in by 3rd party developers wouldn't work  
 because they'd have the wrong extension
 
 -mike lake
 
 
 On Dec 29, 2007, at 11:05 AM, Sven Homburg wrote:
 

 yes, all is possible,
 but not easy:

 you must overwrite some method/classes of tapestry

 - contributeResourceDigestGenerator in
 org.apache.tapestry.services.TapestryModule
 - org.apache.tapestry.internal.services.ComponentTemplateSourceImpl
 - org.apache.tapestry.internal.services.PageTemplateLocatorImpl
 - org.apache.tapestry.internal.services.StaticFilesFilter

 but i think its not recommendable to do this, because
 you must change some internal services.


 Onno Scheffers-3 wrote:

 Hi,

 it's been a while since I last used Tapestry. My last couple of  
 projects
 were based on Wicket, simply because that's what the customer  
 wanted. I
 prefer Tapestry myself and I've just started looking at Tapestry 5.  
 It
 looks very promising so far. The only real annoyance for me is the  
 fact
 that I have to use the .tml extension for my templates.

 I've read the discussions on it and I understand where it comes from.
 But the reason I've been able to use Tapestry for some big projects  
 has
 been the simple fact that I can seamlessly use templates sent to my  
 by
 external web designers and if changes need to be made to those files,
 those designers can do it with the Tapestry jwcid's still in it (the
 HTML is always kept as close to the original as possible).

 All external web designers deliver xhtml files with an html  
 extension or
 xhtml extension. It is annoying to have to rename all those files  
 just
 to be able to use them. In practice this will also mean having to  
 rename
 them back before the designers can update those files, since we might
 have a different designers for each updates or project and training  
 them
 will probably take longer than renaming the files.

 Also the html may contain links to static html pages like  
 helpfiles. In
 essence renaming the files means we also have to change those links
 inside the markup every time. This gets in the way of productivity  
 and
 could introduces errors.

 It would really help me if I could just configure Tapestry to support
 the .html extension again instead of the .tml extension.
 Is this possible or planned for a future release?


 Regards,

 Onno

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





 -
 ---
 best regards
 Sven
 -- 
 View this message in context:
 http://www.nabble.com/T5%3A-Is-the-tml-extension-configurable--tp14538352p14538815.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


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

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


-
---
best regards
Sven
-- 
View this message in context: 
http://www.nabble.com/T5%3A-Is-the-tml-extension-configurable--tp14538352p14540155.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: T5: event onChange for select component

2007-12-29 Thread Sven Homburg

have you a little example (code segment tml and java)?


dwi ardi irawan wrote:
 
 could anyone help me...
 how to catch onChange even on tapestry 5
 
 i try
 
 OnSubmitFromSubmitComponent()
 
 but i didn't work
 
 -- 
 http://dwiardiirawan.blogspot.com
 cos everyone could be extraordinary...lighten up !
 
 


-
---
best regards
Sven
-- 
View this message in context: 
http://www.nabble.com/T5%3A-event-onChange-for-select-component-tp14539623p14540257.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: T5-Intellij: 5.0.7 in pom.xml

2007-12-29 Thread Howard Lewis Ship
So, you've used the synchronize option in the Maven Projects view?

On Dec 28, 2007 5:21 PM, Bill Holloway [EMAIL PROTECTED] wrote:
 I changed the tapestry-release-version in my pom.xml to 5.0.7 in the
 pom.xml that was generated by the quickstart maven  call when 5.0.6
 was the latest.

 The Libraries tree branch in my Idea project view is still showing
 5.0.6 tapestry libs, even after an IDE restart.

 Thoughts?

 Bill

 --
 As I grow to understand life less and less I grow to love it more and more.

 -- Jules Reynard

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





-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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