Re: [T5] Default JavaScript and CSS

2008-10-06 Thread Ken
Hi, again. My Tapestry (1.0.15) oops, My Tapestry is 5.0.15. Ken. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Hibernate example broken with 5.0.15

2008-10-06 Thread János Jarecsni
Hi All, I tested the simple Hibernate example ( http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate) quite a while ago with T5.0.11. Now I restarted studying Tapestry, tried the application now with 5.0.15. It seems that the application can read from the table, but cannot insert

T5 blueprints application?

2008-10-06 Thread János Jarecsni
Hi, I'm learning T5 and like it quite much. Is there something like a blueprints application? I found examples which all focus on a certain aspect of Tapestry, but I think it would be advantegous to have a more complex example with usual things a web application has to provide. Is there something

Re: T5: select list?

2008-10-06 Thread photos
Thanks! Quoting Ulrich Stärk [EMAIL PROTECTED]: Select is what you want. The HTML specs specify a size attribute for the select HTML element which indicates how many entries should be displayed at a time. size=1 (default) would be a dropdown list. HTH, Uli Am Mo, 6.10.2008, 11:33, schrieb

RE: T5: equivelent of c:set ?

2008-10-06 Thread Russell Brown
Thanks. I have already. The docs say Allows a render variable of the component to be read or updated. Updated how, when? What is a render variable? A variable in a template without a corresponding property? But I want to SET a property of my component from the template... As far as I can see it

Re: Hibernate example broken with 5.0.15

2008-10-06 Thread János Jarecsni
Hi thanks for the info, with @CommitAfter it works :) I just included the close() to see if something happens :) That way I got an exception at least :) thanks again! Cheers, Janos 2008/10/6 Davor Hrg [EMAIL PROTECTED] you should post the errors you get, and, also methods that save data

T5: equivelent of c:set ?

2008-10-06 Thread Russell Brown
Hi, If I want to set some property from within the component template is that possible in Tapestry 5? Something like the c:set tag is JSP jstl? Or do you just write a set component and have it as a property of the containing component? Cheers Russell

Re: T5: equivelent of c:set ?

2008-10-06 Thread Kristian Marinkovic
hi Russell, take a look at the var: binding http://tapestry.apache.org/tapestry5/guide/parameters.html g, kris Russell Brown [EMAIL PROTECTED] 06.10.2008 12:07 Bitte antworten an Tapestry users users@tapestry.apache.org An Tapestry users users@tapestry.apache.org Kopie Thema T5:

Re: Problem injecting ApplicationStateManager into service implementing commons-upload ProgressListener

2008-10-06 Thread Francois Armand
Pierre-Alain RIVIERE wrote: Hello, [...] Using this code I've got a NPE when ApplicationStateManager try to get the HttpSession : http://pastebin.com/m1f968817 In debug mode, request.getSession() throws NPE. Hello, I just attempt to upgrade from T5.0.14 to T5.0.15 and now, I have the

Re: Hibernate example broken with 5.0.15

2008-10-06 Thread János Jarecsni
Hi again, I made some investigations into the matter. Here's my modified onAction method from the page class HbAction: public void onAction() { Hello h = new Hello(); h.setMessage(Hello World); _session.save(h); List list =

T5: Serverpush functionality?

2008-10-06 Thread Otho
Hi all! I am musing about a little project where there is for example a simple chatserver in the background and a frontend built with tapestry where a small portion of the page is used as chatwindow. I don't want to use Webstart or an applet but just plain T5. Has anyone already done serverpush

Re: T5 blueprints application?

2008-10-06 Thread Andy Huhn
Hi, See Jumpstart: http://files.doublenegative.com.au/jumpstart/home.html On Mon, 6 Oct 2008 12:05:50 +0200, János Jarecsni [EMAIL PROTECTED] wrote: Hi, I'm learning T5 and like it quite much. Is there something like a blueprints application? I found examples which all focus on a certain

Re: Hibernate example broken with 5.0.15

2008-10-06 Thread Davor Hrg
you should post the errors you get, and, also methods that save data should have @CommitAfter annotation now. ...and you need not close the session it will get closed automatically, and that is actualy the reason the exception occurs Davor Hrg On Mon, Oct 6, 2008 at 11:23 AM, János Jarecsni

T5: select list?

2008-10-06 Thread photos
Is there no such thing as a Select List in T5? I see pallete and select, but they aren't suitable (I have a long list of data that I want selectable - only one selection at a time - in a scrolling list). thanks, p. -

Re: T5: select list?

2008-10-06 Thread Ulrich Stärk
Select is what you want. The HTML specs specify a size attribute for the select HTML element which indicates how many entries should be displayed at a time. size=1 (default) would be a dropdown list. HTH, Uli Am Mo, 6.10.2008, 11:33, schrieb [EMAIL PROTECTED]: Is there no such thing as a

Re: NPE when trying to contribute ServletContextSymbolProvider to SymbolSource (WAS: Re: Page pool hard limit and page instance usage)

2008-10-06 Thread Francois Armand
9902468 wrote: This is starting to look more and more like Jira issue? Any new info on this? Hello guys, I encounter almost the same error when I try to access ApplicationState service from a RequestFilter. Do you have any new on that topic ? Did you open a ticket on the subject ?

Re: NPE when trying to contribute ServletContextSymbolProvider to SymbolSource (WAS: Re: Page pool hard limit and page instance usage)

2008-10-06 Thread Ville Virtanen
I have no new info on this, and I think we should add ticket to get this sorted. (If it is something we do wrong - correct the documentation or then it is a bug that needs a fix anyway.) Currently I'm just fetching the values from context by hand. The reason behind this however is likely to be

Re: T5 blueprints application?

2008-10-06 Thread János Jarecsni
thanks, it seems this is what I was after :) 2008/10/6 Andy Huhn [EMAIL PROTECTED] Hi, See Jumpstart: http://files.doublenegative.com.au/jumpstart/home.html On Mon, 6 Oct 2008 12:05:50 +0200, János Jarecsni [EMAIL PROTECTED] wrote: Hi, I'm learning T5 and like it quite much. Is

Re: Problem injecting ApplicationStateManager into service implementing commons-upload ProgressListener

2008-10-06 Thread Pierre-Alain RIVIERE
Hello, Maybe it's related but 5.0.14 gives me the same result here. But the use case seems to be the same : contributing a RequestFilter with the ApplicationStateService thrown a NPE. And no solution or hack for now. Too bad cause my webapp is just a simple upload manager for my own purpose.

Re: T5 blueprints application?

2008-10-06 Thread Thiago H. de Paula Figueiredo
Em Mon, 06 Oct 2008 07:05:50 -0300, János Jarecsni [EMAIL PROTECTED] escreveu: Hi, I'm learning T5 and like it quite much. Is there something like a blueprints application? The Ars Machina Project Example Application (www.arsmachina.com.br/project/example) was meant to be exactly like

Re: T5: equivelent of c:set ?

2008-10-06 Thread Thiago H. de Paula Figueiredo
Em Mon, 06 Oct 2008 09:01:48 -0300, Russell Brown [EMAIL PROTECTED] escreveu: As far as I can see it is only of use in a loop in which case it is set at the start of the iteration. How about iteration idioms that involve setting a value at the end of the iteration to be used by the next

Re: T5: Serverpush functionality?

2008-10-06 Thread Thiago H. de Paula Figueiredo
Em Mon, 06 Oct 2008 09:19:57 -0300, Otho [EMAIL PROTECTED] escreveu: Hi all! I am musing about a little project where there is for example a simple chatserver in the background and a frontend built with tapestry where a small portion of the page is used as chatwindow. I don't want to use

Re: T5: equivelent of c:set ?

2008-10-06 Thread Kristian Marinkovic
if you use the var: prefix in your template you do not need a corresponding property in your page/component. and you can use this variable in your template multiple times (as in the loop example). tapestry will generate a property on the fly during rendering for this variable. if you declare

RE: T5: equivelent of c:set ?

2008-10-06 Thread Russell Brown
Ok...an example In jsp c:forEach items=${someList} var=myItem varStatus=counter c:if test=${!empty someVar} somemarkup attr=$someVar}/ /c:if someothermarkup/ c:set var=someVar value=${myItem.myProperty}/ /c:forEach So in the above example I have a variable

Re: T5: equivelent of c:set ?

2008-10-06 Thread Thiago H. de Paula Figueiredo
Em Mon, 06 Oct 2008 11:01:34 -0300, Russell Brown [EMAIL PROTECTED] escreveu: In jsp c:forEach items=${someList} var=myItem varStatus=counter c:if test=${!empty someVar} somemarkup attr=$someVar}/ /c:if someothermarkup/ c:set var=someVar

Localized Translators - again

2008-10-06 Thread Ulrich Stärk
Am Sa, 13.09.2008, 22:36, schrieb Howard Lewis Ship: On Sat, Sep 13, 2008 at 2:54 AM, Ulrich Stärk [EMAIL PROTECTED] wrote: - localization for translators is still missing: https://issues.apache.org/jira/browse/TAPESTRY-2457 (in fact I tried to bring this to your attention several times but

RE: T5: equivelent of c:set ?

2008-10-06 Thread Russell Brown
I get it. Thanks. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:[EMAIL PROTECTED] Sent: 06 October 2008 15:28 To: Tapestry users Subject: Re: T5: equivelent of c:set ? Em Mon, 06 Oct 2008 11:01:34 -0300, Russell Brown [EMAIL PROTECTED] escreveu: In jsp c:forEach

RE: spring T5 integration on acegi security considerations

2008-10-06 Thread wesley
hi Jon, thanks much for the feedback, i assumed acegi will do all hard work/encapsulate those like password encryption login and other unauthorized access to the pages? because with normal implementation, i need to do one way encrypt myself to authenticate user for example. does acegi do that?,

Re: T5: Serverpush functionality?

2008-10-06 Thread Lance Java
Use dwr's reverse ajax... it's great! http://directwebremoting.org/dwr/reverse-ajax If you download the sample war it has examples including a chat application. Dwr3.0 is soon to be released with a whole lot of reverse-ajax niceness. 2008/10/6 Thiago H. de Paula Figueiredo [EMAIL PROTECTED]

[EMAIL PROTECTED] inside [EMAIL PROTECTED]

2008-10-06 Thread mike
in my html, --- form jwcid=@Form div jwcid=@Insert value=ognl:allProducts raw=ognl:true / /form in my java, pageValidate, -- setAllProducts(span jwcid=\@Insert\ value=\message:com.test.productcode\/); when reader

Re: [EMAIL PROTECTED] inside [EMAIL PROTECTED]

2008-10-06 Thread mike
i need to dynamically create jwcid tag inside @insert tag. that's the reason i use this approach. how to make tapestry render the tags inside @insert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

AW: Localized Translators - again

2008-10-06 Thread Maximilian Weißböck
Put me on the me to List ;-) We have a (very possible) project where the customer want's us to use Struts2 - but we hope we can convince him to Tapestry5. But if localization is still such an issue, this will be really hard... Max PS: I already voted long time ago... -Ursprüngliche

Re: [EMAIL PROTECTED] inside [EMAIL PROTECTED]

2008-10-06 Thread Norman Franke
First enabling raw will send whatever you give it out without conversion. Turning off raw will escape the HTML tags, not what you want either. I don't think that sort of thing works in Tapestry. You could try using a @Block / @RenderBlock pair. You could have an OGNL expression provide

Re: Localized Translators - again

2008-10-06 Thread Ulrich Stärk
Thiago H. de Paula Figueiredo schrieb: Em Mon, 06 Oct 2008 11:32:01 -0300, Ulrich Stärk [EMAIL PROTECTED] escreveu: https://issues.apache.org/jira/browse/TAPESTRY-2457 (in fact I tried to Voted and watching this issue. But I think its description speaks only of Translators, but the

RE: spring T5 integration on acegi security considerations

2008-10-06 Thread Jonathan Barker
Wesley, I would rather spend two hours figuring out how to use a well thought out / designed / tested tool that will pay off in the long haul than spend one hour doing a one-off solution to an immediate problem. I didn't save time the first time I used Acegi, but I really do save time now.

Treating a Component Like a Form Field

2008-10-06 Thread Keith Bottner
I created a custom component for displaying a selection list of countries. However, I have found that the only way for me to retrieve what the selection is from the component is to declare a @Component to that particular field and then request the value directly from the component. Is

RE: [EMAIL PROTECTED] inside [EMAIL PROTECTED]

2008-10-06 Thread Jonathan Barker
What is the final result you are trying to achieve? Norman gave a number of good options, but it would help to know your end objective. Jonathan -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of mike Sent: Monday, October 06, 2008 13:37 To:

[T5] Using Tapestry5 on Igenko, an open source cms/eCommerce project

2008-10-06 Thread Bouiaw
Hi, I currently work on an open source cms/ecommerce project called Igenko (http://code.google.com/p/igenko/). Its core is a java library that is based on Spring/Jackrabbit JCR/Jboss JBPM technologies, and that is not linked to a specific view layer. We have currently have a simple GUI

Re: Treating a Component Like a Form Field

2008-10-06 Thread Thiago H. de Paula Figueiredo
Em Mon, 06 Oct 2008 18:03:13 -0300, Keith Bottner [EMAIL PROTECTED] escreveu: I created a custom component for displaying a selection list of countries. However, I have found that the only way for me to retrieve what the selection is from the component is to declare a @Component to that

Re: [T5] Using Tapestry5 on Igenko, an open source cms/eCommerce project

2008-10-06 Thread Thiago H. de Paula Figueiredo
Em Mon, 06 Oct 2008 19:14:40 -0300, Bouiaw [EMAIL PROTECTED] escreveu: 1) RESTful URL handling As I would like to manage RESTful urls like (http://mywebsite.com/channel/1/content/2/ or http://mywebsite.com/user/sdeleuze/), I need to implement my own URL resolution and not Tapestry5 default

Re: [EMAIL PROTECTED] inside [EMAIL PROTECTED]

2008-10-06 Thread sc
Or your allProducts could call OGNL directly and parse the expression in your .java class. can you explain on this.. aren't this is what i did in my example and it does't work? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [EMAIL PROTECTED] inside [EMAIL PROTECTED]

2008-10-06 Thread mike
let me share my solution.. ya. using @BlockRender will work. the only problem is if your generated html is too complicated using @blockRender is not so easy. so what i do is, i remain my existing code and for action button, i create another page and hidden in current page as iframe. this way,

Re: Localized Translators - again

2008-10-06 Thread Ville Virtanen
The localized js validation must be there, not very serious solution if it supports server side localization, but not client side :) +1 too for localized translators and js validation. Marcelo Lotif-2 wrote: And me too. Here, we're using a javascript + onToClient and onParseClient methods