Re: Multiple Portlets / Sharing SSOs

2011-04-19 Thread Moritz Gmelin
Great! That helped. I can now use SSOs throughout all portlets contained in a context. I'll start to do some real testing now and then send you diffs of the source for tapestryportlet. Thanks Moritz Am 20.04.2011 um 08:01 schrieb Markus Feindler: > Hey Moritz, > > have a look at "PortletSe

Re: Multiple Portlets / Sharing SSOs

2011-04-19 Thread Markus Feindler
Hey Moritz, have a look at "PortletSessionImpl.class". try to replace session.setAttribute(name, value); by session.setAttribute(name, value, PortletSession.APPLICATION_SCOPE); Do the same for all methods (like getAttribute, getAttributeNames), where a scope can be defined: http://www.blue

Re: Live reload in production?

2011-04-19 Thread Patrick Moore
Hi Howard, Maybe the question should really be: Does anyone out there rely on live class (template, message catalog, whatever) reloading in their live, production application? and what critical benefit does this offer? I am with you on the paradox of choice. When I roll out new versions

Re: Live reload in production?

2011-04-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Apr 2011 20:39:46 -0300, Adam Zimowski wrote: I plead to ask, if possible to enable a switch for template reloading. I guess this won't be a problem, as it doesn't touch class transformations, proxies, etc. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5

Re: Live reload in production?

2011-04-19 Thread Adam Zimowski
I plead to ask, if possible to enable a switch for template reloading. I may be screwed, literally... Adam On Tue, Apr 19, 2011 at 6:36 PM, Howard Lewis Ship wrote: > On Tue, Apr 19, 2011 at 4:22 PM, Adam Zimowski wrote: >> Excuse me asking, but with class reloading disabled in production, >> t

Re: Live reload in production?

2011-04-19 Thread Lenny Primak
I think live reload in production is a terrible idea. Production should be locked down. Even if you are using exploded version of the application, the app server should explicitly be told to reload the app, in which case live reloading is not required. On Apr 19, 2011, at 7:36 PM, Howard Lew

Re: Live reload in production?

2011-04-19 Thread Howard Lewis Ship
On Tue, Apr 19, 2011 at 4:22 PM, Adam Zimowski wrote: > Excuse me asking, but with class reloading disabled in production, > template reloading still works, correct? > > My designer who mostly does TML's expects templates be reloadable in > production. > Well, then, you're screwed in Tapestry 5.

Re: Live reload in production?

2011-04-19 Thread Adam Zimowski
Excuse me asking, but with class reloading disabled in production, template reloading still works, correct? My designer who mostly does TML's expects templates be reloadable in production. Adam PS. On a side note, what about a hybrid switch? Like component class reloading but disable service re

Re: Live reload in production?

2011-04-19 Thread Howard Lewis Ship
On Tue, Apr 19, 2011 at 4:00 PM, Igor Drobiazko wrote: > I never used live reloading in production, but it might be a cool marketing > weapon. We could promote it as seomthing similar to ZeroTurnaround's > LiveRebel: > > http://www.zeroturnaround.com/liverebel/ > > Imagine a new slogan on Tapestry

Re: Live reload in production?

2011-04-19 Thread Igor Drobiazko
I never used live reloading in production, but it might be a cool marketing weapon. We could promote it as seomthing similar to ZeroTurnaround's LiveRebel: http://www.zeroturnaround.com/liverebel/ Imagine a new slogan on Tapestry's webpage: "With Tapestry you can roll out and roll back changes to

T5: select zone update in a form

2011-04-19 Thread Adam Zimowski
I have a typical address form with street, city zip textfields and two dropdowns: country and state. The state dropdown is wrapped in a zone so that when country is selected, states are populated: All works okay, except for a test case my business analyst found which I can't figure out. You fil

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-19 Thread TG
It does not. I selected two items, go back to it, it remember. But if I saved it into the database, leave the page (goto some other functionalities for instance), come back again to the page with the multiple select, they are obviously not selected. Question is, how do I "make/set" the two items to

Re: Multiple Portlets / Sharing SSOs

2011-04-19 Thread Moritz Gmelin
Answering my own posts and asking new questions that I can maybe answer tomorrow might have some therapeutic effects... I've come further in my Portlets Quest by putting my 2 portlets in a single contexts. That was my original goal. Better than having a single context for each portlet. But now

Re: Live reload in production?

2011-04-19 Thread Bob Harner
On Tue, Apr 19, 2011 at 2:53 PM, Howard Lewis Ship wrote: > On Tue, Apr 19, 2011 at 11:23 AM, Thiago H. de Paula Figueiredo > wrote: >> On Tue, 19 Apr 2011 15:21:44 -0300, Howard Lewis Ship >> wrote: >> >>> On Tue, Apr 19, 2011 at 11:07 AM, Thiago H. de Paula Figueiredo >>> wrote: I'm

Re: Live reload in production?

2011-04-19 Thread Howard Lewis Ship
On Tue, Apr 19, 2011 at 11:23 AM, Thiago H. de Paula Figueiredo wrote: > On Tue, 19 Apr 2011 15:21:44 -0300, Howard Lewis Ship > wrote: > >> On Tue, Apr 19, 2011 at 11:07 AM, Thiago H. de Paula Figueiredo >> wrote: >>> >>> I'm not using 5.2 yet (sigh), but I do use exploded WARs in deployment. >

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Apr 2011 15:33:53 -0300, TG wrote: If let's say the user's select A, B and D, when the multipleselect component is rendered, how do I pre-select A, B and D correspondingly? If it doesn't do this automatically, like any Tapestry component provided out of the box, it should. --

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-19 Thread TG
I just realized that I have one more question, hope you do not mind. If let's say the user's select A, B and D, when the multipleselect component is rendered, how do I pre-select A, B and D correspondingly? What do I need to do (without changing the HTML myself for instance, which defeats the purp

Re: Live reload in production?

2011-04-19 Thread Thiago H. de Paula Figueiredo
I'm not using 5.2 yet (sigh), but I do use exploded WARs in deployment. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br -

Live reload in production?

2011-04-19 Thread Howard Lewis Ship
Out of curiosity ... does anyone out there rely on live class (template, message catalog, whatever) reloading in their live, production application? Now, normally, I'd think not, because the deployed app will be packaged in a WAR and the unit of redeployment is the entire WAR ... but I suppose som

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-19 Thread Taha Hafeez
Hi Yes you can. In case of an enum, you can get the list using Enum.values(), you can use EnumSelectModel as your model and the implement MultipleValueEncoder for enum. regards Taha tawus.wordpress.com On Tue, Apr 19, 2011 at 5:28 PM, TG wrote: > Can I replace MyObject with the Enum type e.g

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-19 Thread TG
For the sake of anyone else that might find this useful, this is how I addressed it - UserRole[] roles = UserRole.values(); for(int i = 0; i < roles.length; ++i){ myList.add(roles[i]); } and it works. Let m

Re: LinkSubmit on T5.1.0.8

2011-04-19 Thread Howard Lewis Ship
It's called the Law of Unintended Consequences ... things that make perfect sense once discovered, but are difficult to predict! On Mon, Apr 18, 2011 at 10:26 PM, Dmitriy Vsekhvalnov wrote: > yeah, interesting it did a trick. but only when i assigned t:id for all > components on the page. > > On

Re: How to implement AJAX for "Insert" jwcid in Tapestry 4.1 ?

2011-04-19 Thread Andreas Andreou
try surrounding the area to be updated with a div, i.e. ...(input goes here)... and then use updateComponents="area" On Tue, Apr 19, 2011 at 15:02, nazarhussain_s wrote: > Hi, >      I have been trying to implement AJAX for "Insert" component but have > been unable to do it.I had tried using "

Re: How to implement AJAX for "Insert" jwcid in Tapestry 4.1 ?

2011-04-19 Thread LLTYK
I don't know. However, T5 can be run alongside T4. I have an old T4 app, and write all the new pages in T5. -- View this message in context: http://tapestry-users.832.n2.nabble.com/How-to-implement-AJAX-for-Insert-jwcid-in-Tapestry-4-1-tp6286999p6287572.html Sent from the Tapestry Users mailing

RE: Custom field, fckEditor, rendering order

2011-04-19 Thread Jim O'Callaghan
Thanks Thiago - working now - simple when you know how! Regards, Jim. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Managing a large multi-team project with Tapestry 5

2011-04-19 Thread York, John
To clarify the object oriented CSS point, I was referring to the style of writing CSS as described at oocss.org. It outlines a convention for writing your CSS in an "object oriented" way. Here's a nice presentation describing it: http://www.slideshare.net/stubbornella/object-oriented-css I used

Re: Custom field, fckEditor, rendering order

2011-04-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Apr 2011 08:27:00 -0300, Jim O'Callaghan wrote: In the custom field beginRender method I have: boolean beginRender(MarkupWriter writer) { . . . } else if (useFCKEditor){ writer.element("textarea",

How to implement AJAX for "Insert" jwcid in Tapestry 4.1 ?

2011-04-19 Thread nazarhussain_s
Hi, I have been trying to implement AJAX for "Insert" component but have been unable to do it.I had tried using "TextArea" type instead and it worked out. Now I need to know what was the problem with "Insert" before The Home.html page should accept a given input and on click of OK button sho

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-19 Thread TG
Can I replace MyObject with the Enum type e.g. UserRole? Will it work? Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-2-5-Select-component-s-multiple-property-tp4304338p4313085.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Custom field, fckEditor, rendering order

2011-04-19 Thread Jim O'Callaghan
I'm having some trouble with the rendering of a custom field - I'm hoping someone can give me a steer on the order of interpretation / execution during rendering. When I use the T5EasyFCKEditor in a .tml as follows: ... it works as expected and the textarea is decorated / enhanced. When I tr

Re: New component library

2011-04-19 Thread Massimo Lusetti
On Mon, Apr 18, 2011 at 8:25 PM, Howard Lewis Ship wrote: > Currently, we are doing quite well using the Apache Jenkins instance > for continuous integration (rather than the Bamboo running on > Tapestry360). We also have the Apache snapshots repository.  I'd > prefer if people stored their code

Re: Managing a large multi-team project with Tapestry 5

2011-04-19 Thread Toby O'Rourke
Hi, We have 4 teams of 6-8 people each working on a pretty large Tapestry project. We've encountered quite a few of these problems along the way ;) I have to agree with Peter, well separated, testable code will make your life immeasurably easier - get this bit right and everything else should flo

Re: Managing a large multi-team project with Tapestry 5

2011-04-19 Thread P . Stavrinides
Hi John, There is no single formula, it just depends on the way you like to work.. Tapestry does make things easy though because by nature its very modular, and IoC by nature encourages better interoperability. We currently have about 7 Tapestry applications sharing resources, so here are some

RE: Blog Post: Tapestry Magic #1

2011-04-19 Thread Guerin Laurent
Very interesting posts Taha ! I will follow your blog :-) Laurent -Message d'origine- De : Taha Hafeez [mailto:tawus.tapes...@gmail.com] Envoyé : mardi 19 avril 2011 09:08 À : Tapestry users Objet : Re: Blog Post: Tapestry Magic #1 And another one http://tawus.wordpress.com/2011/04/19/

Re: Blog Post: Tapestry Magic #1

2011-04-19 Thread Taha Hafeez
And another one http://tawus.wordpress.com/2011/04/19/plastic-chains-simple-chainbuilder/ regards Taha On Mon, Apr 18, 2011 at 1:07 PM, Taha Hafeez wrote: > Hi Thiago & everyone.. > > Added another post > > http://tawus.wordpress.com/2011/04/18/meeting-plastic/ > > regards > Taha > > > On Mon,