Re: AssetExternaliser in 4.1.2

2007-07-25 Thread Lionel Touati
It actually saved the content of the assets in a specified directory, so they'd be served by Apache rather than tomcat L. Jesse Kuhnert a écrit : I've never really used T3 (other than the progression of alpha/beta builds from T3->T4 when I first found it ) - what exactly did externalizing an

Re: Tapestry5 and WebSphere6.1

2007-07-25 Thread Renat Zubairov
Hi That's very nice that you've posted your web.xml here, it seems somehow strange for me because I woudln't expect filter without any servlets inside. I've checked tapestry quickstart and it seems that the same configuration there. I guess here is minor differences in the servlet container imple

Re: T3: loosing the User object as soon as the edit action is invoked?

2007-07-25 Thread Nick Westgate
Sure, the old data persists until it is changed. When you want a new user, you need to create it somewhere, eg: >public void userNewAction(IRequestCycle cycle) { > > UserEdit nextPage = (UserEdit) cycle.getPage("UserEdit"); > nextPage.setUserId(0); -->

Re: T5: Redirecting to out-of-tapestry page

2007-07-25 Thread Bill Holloway
'cause Howard told me not to use internal classes :) I simply extended the Link interface myself. Pretty much like the ACEGI trick. Bill On 7/25/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Can you share your implementation? Is there a reason you couldn't return a link as used on the wiki's Ac

Re: T3: loosing the User object as soon as the edit action is invoked?

2007-07-25 Thread Nazmul Bhuiyan
After making the EfiUser persist in the UserEdit.page the edit works fine but after editing one user if I want to add a new user then the page get populated the previous user. I’m setting user to the EditUser page only in edit action. But in new action I’m not setting any user but still it is get

Re: ajax question

2007-07-25 Thread Andrea Chiumenti
Yea! "..because they are evil bastards" +1 On 7/26/07, Marcus Schulte <[EMAIL PROTECTED]> wrote: - at least, that's a pretty decent reason, isn't it? 2007/7/26, Jesse Kuhnert <[EMAIL PROTECTED]>: > > IE won't let you do it. ..because they are evil bastards. > > On 7/25/07, Andrea Chiumenti <[

Re: ajax question

2007-07-25 Thread Marcus Schulte
- at least, that's a pretty decent reason, isn't it? 2007/7/26, Jesse Kuhnert <[EMAIL PROTECTED]>: IE won't let you do it. ..because they are evil bastards. On 7/25/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > Does anybody know if there are some problems in updating a tbody element > wh

Re: [T4] about component id

2007-07-25 Thread Jesse Kuhnert
Look at the "How client ids are generated" section here: http://tapestry.apache.org/tapestry4.1/ajax/basics.html It's all covered in excruciating detail. The gist of it is that you do this: public void renderSomething(){ super.renderIdAttribute(writer, cycle); } and everything else gets ha

Re: T4.1.2 id bug?

2007-07-25 Thread Jesse Kuhnert
I think Andreas has some kind of multi-form-factory-generator-thinger but I have no idea how it should be used. I still think it seems like a core bug that should just be fixed and dealt with by default but I haven't looked at it in a while. maybe Andy has some thoughts? Besides that, if you w

Re: Upload file component(async problem)

2007-07-25 Thread Jesse Kuhnert
It hasn't. On 7/25/07, Networm <[EMAIL PROTECTED]> wrote: I want to know in which version of Tapestry this bug has been fixed .Thanks! -- View this message in context: http://www.nabble.com/Upload-file-component%28async-problem%29-tf3361721.html#a11781685 Sent from the Tapestry - User mailing

Re: ajax question

2007-07-25 Thread Jesse Kuhnert
IE won't let you do it. ..because they are evil bastards. On 7/25/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Does anybody know if there are some problems in updating a tbody element when performing an ajax request? Thx, kiuma -- Jesse Kuhnert Tapestry/Dojo team member/developer Open

Re: Page render after the rewind

2007-07-25 Thread Jesse Kuhnert
You can just call : public void pageBeginRender(PageEvent event) { event.getRequestCycle().isRewinding(); } If you need to know if something "has rewound" after the fact I think the only logical next question is "why" ? It indicates that you are probably attacking whatever problem you are hand

Re: t4.1.2 internet explorer only issue with cycle.getResponseBuilder().updateComponent("foo")

2007-07-25 Thread Jesse Kuhnert
Even with client side debugging turned on you don't see any problems? (ie debugEnabled=true for Shell or equivalent) If you are targeting elements="someId" I guess things could get a little squirrelly as I don't personally do that very often. There should be ~something~ that comes out of the cli

Re: Editable table and DirectLink

2007-07-25 Thread Jesse Kuhnert
If you feel like living on the edge (not really, but it's a snapshot build) - the InlineEditBox supports listener/parameter stuff and allows you to do this sort of thing you are doing. (I think? ) http://tapestry.apache.org/tapestry4.1/components/dojo/inlineeditbox.html On 7/23/07, Ying Lee <[EM

Re: about T4.1.2 sources in SVN

2007-07-25 Thread Jesse Kuhnert
If you want to look at 4.1.2 source use the tag - if you want to look at whatever the current development version is use trunk. (currently 4.1.3 but that will probably change more frequently now) On 7/22/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello If I want to have a look at T4.1.2 source

Re: AssetExternaliser in 4.1.2

2007-07-25 Thread Jesse Kuhnert
I've never really used T3 (other than the progression of alpha/beta builds from T3->T4 when I first found it ) - what exactly did externalizing an asset mean? On 7/21/07, Lionel Touati <[EMAIL PROTECTED]> wrote: Hi List, In Tapestry 3, there was the ability to externalize assets on the web ser

Re: T5: Redirecting to out-of-tapestry page

2007-07-25 Thread Nick Westgate
This is exactly why the framework should provide something, so I guess I'll add the JIRA issue. https://issues.apache.org/jira/browse/TAPESTRY-1671 Any code additions would be helpful. If you use anything with "internal" in the package name, expect it to break one day. It's not part of Tapestry'

Re: j_security_check in tapestry

2007-07-25 Thread #Cyrille37#
Alexa22 a écrit : Hi, I have a problem, I'm developing a Tapestry's aplication and I need to active the security in there, but the page is autenticated by WAS (WebShere Application Server) and LDAP, When the user is already authenticate, Is Tapestry running on the WAS ? If yes, have a look at

j_security_check in tapestry

2007-07-25 Thread Alexa22
Hi, I have a problem, I'm developing a Tapestry's aplication and I need to active the security in there, but the page is autenticated by WAS (WebShere Application Server) and LDAP, When the user is already authenticate, I don't Know how to pass to the other page, My html is this: Do you have a

Re: T5 - Access configured application default value from component

2007-07-25 Thread Peter Beshai
No unordinary log messages (I switched on debug logging ... oo boy... but nothing stood out) and no exceptions. I put ${filesystemroot} in my template and it renders blank. On 7/25/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Off the top of my head, that should work. What behavior are you

Re: T5 - Access configured application default value from component

2007-07-25 Thread Howard Lewis Ship
Off the top of my head, that should work. What behavior are you seeing? Any log messages or exceptions? On 7/25/07, Peter Beshai <[EMAIL PROTECTED]> wrote: In my application, people can upload files. What is the best way to configure the root of the location the files go to? I thought I'd con

T5 - Access configured application default value from component

2007-07-25 Thread Peter Beshai
In my application, people can upload files. What is the best way to configure the root of the location the files go to? I thought I'd contribute to ApplicationDefaults like so: public static void contributeApplicationDefaults( MappedConfiguration configuration) { configurati

Re: T5 component parameter binding not updated

2007-07-25 Thread Martin Grotzke
On Wed, 2007-07-25 at 09:09 -0700, Howard Lewis Ship wrote: > https://issues.apache.org/jira/browse/TAPESTRY-1667 > > And, yes, it's a bug. Expansions were treated as invariant when they are, > in fact, variant. Wow, very fast in fixing this! Respect :) cheers, Martin > > On 7/25/07, Howard L

Re: T5 component parameter binding not updated

2007-07-25 Thread Martin Grotzke
Hi Howard, thanx a lot for this explanation, again I learned s.th. about T5 :) Indeed, prop:currentPage works, unfortunately my eyes were blind these days to tell me that there's the ${expansions} stuff - or my brain didn't tell my eyes that this is s.th. special ;) Thanx a lot, cheers, Martin

[T4] need help on multi-checkbox validation

2007-07-25 Thread #Cyrille37#
Hello, This days I'm trying to find a way for managing validation between severals checkbox. The need is: there are several checkboxes in a form and each checkbox needs to match rules which exprims dependencies between those checkboxes. For example : you can check this one if you have checked t

Re: [T5] Set the text field size in BeanEditForm

2007-07-25 Thread Marcelo lotif
this is easy, but when you have a dozen fields to set, this becomes a little verbose... isn't a way to set it via .properties file? Em 25/07/07, Marcus <[EMAIL PROTECTED]> escreveu: > > Olá Marcelo, > > > submitLabel="Gravar"> > > > >

Re: [T5] Set the text field size in BeanEditForm

2007-07-25 Thread Marcus
Olá Marcelo, (Informe o nome) Marcus

[T5] Set the text field size in BeanEditForm

2007-07-25 Thread Marcelo lotif
Hi all, anyone knows how set the size of a text field in BeanEditForm, preferentially using the .properties file? -- Atenciosamente, Marcelo Lotif

Re: [T5] Specifying parameters in templates (apropos if / else)

2007-07-25 Thread Howard Lewis Ship
It's a very, very good idea! On 7/25/07, Ognen Ivanovski <[EMAIL PROTECTED]> wrote: I often look at: ... and think if there could be a better (and yet generic) way to express this. The only thing that comes to my mind is to use another namespace (with prefix p

[T5] Specifying parameters in templates (apropos if / else)

2007-07-25 Thread Ognen Ivanovski
I often look at: ... and think if there could be a better (and yet generic) way to express this. The only thing that comes to my mind is to use another namespace (with prefix p) and then do something like: ... Of course this can easil

Re: T5 component parameter binding not updated

2007-07-25 Thread Howard Lewis Ship
https://issues.apache.org/jira/browse/TAPESTRY-1667 And, yes, it's a bug. Expansions were treated as invariant when they are, in fact, variant. On 7/25/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: You've bound the parameter _currentPage to the value obtained from ${currentPage}. Expansio

Re: T5 component parameter binding not updated

2007-07-25 Thread Howard Lewis Ship
You've bound the parameter _currentPage to the value obtained from ${currentPage}. Expansions are always read-only. prop:currentPage is read/write, but ${currentPage} is read-only. The instance variable in the component is always reading or updating the binding. So if you update _currentPage i

Re: T5 Loading Component Assets

2007-07-25 Thread Todd Orr
That seems to be exactly the issue. Thanks a lot! On 7/25/07, Steven Coco <[EMAIL PROTECTED]> wrote: If filtering is enabled in Maven, then it will filter binary files too: and it is the case with Maven that your images are nearly guaranteed to be corrupted. The ideal way to solve it is to sepa

Re: T5 Loading Component Assets

2007-07-25 Thread Steven Coco
If filtering is enabled in Maven, then it will filter binary files too: and it is the case with Maven that your images are nearly guaranteed to be corrupted. The ideal way to solve it is to separate files that need filtering from those that don't, by defining several resource directories: http

j_security_check Tapestry

2007-07-25 Thread Alexa22
Hi, I have a problem, I'm developing a Tapestry's aplication and I need to active the security in there, but the page is autenticated by WAS (WebShere Application Server) and LDAP, My html is this: but I don't know later of authenticated the user to take it to the main page!!.. Do you have any i

Re: T5: Redirecting to out-of-tapestry page

2007-07-25 Thread Daniel Jue
Can you share your implementation? Is there a reason you couldn't return a link as used on the wiki's Acegi tutorial? http://wiki.apache.org/tapestry/Tapestry5LinkingToNonTapestryURIs On 7/24/07, Bill Holloway <[EMAIL PROTECTED]> wrote: Got it going with my own implementation of Link. bill

Re: T5: Redirecting to out-of-tapestry page

2007-07-25 Thread Bill Holloway
Well, I'm not sure that's warranted. bill On 7/24/07, Nick Westgate <[EMAIL PROTECTED]> wrote: Don't forget to log a JIRA issue. ;-) Cheers, Nick. Bill Holloway wrote: > Got it going with my own implementation of Link. > > bill > > On 7/23/07, Nick Westgate <[EMAIL PROTECTED]> wrote: >> >>

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
Igor Drobiazko a écrit : Well, your component looks somehow strange to me. I don't see what it should do. However id="checkbox" is written when your contained checkbox is rendered. That's expected behavior. Your own component does nothing except registering to the group. So why do you expect

T4.1.2 id bug?

2007-07-25 Thread Peter Schröder
hi, i have 2 forms, both should be submitted via ajax. 1. one is in my home.html and should be submitted using a submit-component: 2. one is in a subcomponent and should also be submitted via submit-component: this renders to two submits, both with id 'Submit': ...

Re: JumpStart v1.6 - for Tapestry 4.1.2

2007-07-25 Thread Geoff Callender
Hi Naz, Is it possible for you to put some tips to use tomcat with your JumpStart? Sorry but I don't have any plans for doing a Tomcat-only implementation, so the short answer is "no". The reason is that JumpStart uses EJB3 for the business layer. That pretty much means an application

Re: Upload file component(async problem)

2007-07-25 Thread Networm
I want to know in which version of Tapestry this bug has been fixed .Thanks! -- View this message in context: http://www.nabble.com/Upload-file-component%28async-problem%29-tf3361721.html#a11781685 Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: [T4] about component id

2007-07-25 Thread Igor Drobiazko
Well, your component looks somehow strange to me. I don't see what it should do. However id="checkbox" is written when your contained checkbox is rendered. That's expected behavior. Your own component does nothing except registering to the group. So why do you expect id="ckL1"? On 7/25/07, #Cyril

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
Igor Drobiazko a écrit : It is inpossible to help you without having a look into your GroupableCheckbox.java and GroupableCheckbox.html Please post it. Ha! That's another story, a more complex problem ;-) After relearned Ids concept, I can talk to you about the component GroupableCheckbox which

Re: [T4] about component id

2007-07-25 Thread Igor Drobiazko
It is inpossible to help you without having a look into your GroupableCheckbox.java and GroupableCheckbox.html Please post it. On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Igor Drobiazko a écrit : > Cyrille, > > please provide your sources. Otherwise we have to use our glass sphere :) But

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
Igor Drobiazko a écrit : Cyrille, please provide your sources. Otherwise we have to use our glass sphere :) But I do not need to debug my source, I just need more memory ;-) I do not remember some tapestry syntax. I think I'm handsaking component's ids in my brain. Is that syntax definition r

Re: [T4] about component id

2007-07-25 Thread Igor Drobiazko
Cyrille, please provide your sources. Otherwise we have to use our glass sphere :) On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Andrea Chiumenti a écrit : > ciao, > the fact is that tapestry uses the form form['componentname'] , so > for > Tapestry name is sufficient to specify ur id

Re: [T4] about component id

2007-07-25 Thread Andrea Chiumenti
Well this question should be addressed to Jesse On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Andrea Chiumenti a écrit : > ciao, > the fact is that tapestry uses the form form['componentname'] , so > for > Tapestry name is sufficient to specify ur id u should use > id="clientId:yourCom

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
Andrea Chiumenti a écrit : ciao, the fact is that tapestry uses the form form['componentname'] , so for Tapestry name is sufficient to specify ur id u should use id="clientId:yourComponentId". But why the shortest way jwcid="[EMAIL PROTECTED]" does not create a html element with a id="myCo

Re: [T4] about component id

2007-07-25 Thread Andrea Chiumenti
ciao, the fact is that tapestry uses the form form['componentname'] , so for Tapestry name is sufficient to specify ur id u should use id="clientId:yourComponentId". Hope this helps. kiuma On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello I'm writing my first "complex" component :

[T4] about component id

2007-07-25 Thread #Cyrille37#
Hello I'm writing my first "complex" component : GroupableCheckbox (not same behaviors as CheckboxGroup). The question is about the component id. To define the id of the component I think to use the text before the @ in the jwcid but it does work, I had to add an id attribute : does not wri