Re: Re: @Asset problem

2006-11-28 Thread Sam Gendler
OK, here's a bit of a convoluted solution, but it works. In my case, I'm using spring, but you could do the exact same thing within hivemind. I've got an object that has some string properties that I want to configure at run time. Let's call is CssOverrides. It can be populated with a list of

Re: Re: Re: @Asset problem

2006-11-28 Thread Sam Gendler
Incidentally, in our case, we have a mechanism within spring that will detect the existence of a context file in a location outside the war file and use that to override bean definitions in the context file(s) inside the war file. I don't konw that such a mechanism is possible within hivemind

about tapestry's wiki

2006-11-28 Thread Cyrille37
Hello, I do not know where it could be added, but I think it will be great to add link to tapestry-prop and tapestry-flash website. my 2 cents, Cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

java.lang.AbstractMethodError

2006-11-28 Thread wong wayne
Hi all May I know what does this Exception mean? javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.AbstractMethodError org.apache.tapestry.AbstractPage.firePageDetached(AbstractPage.java:436) I'm developing a e-shopping system. The login/logout

Update component loses its @EventListener

2006-11-28 Thread Ron Piterman
Hi all - I have a simlar scenario to the above post with the same name: I call responseBuilder.updateComponent on the template-container of a component with an @EventListener. The component is being rendered but the javascript is not regenerated. The usecase is as follows: tr jwcid=[EMAIL

Re: Update component loses its @EventListener

2006-11-28 Thread Ron Piterman
ok - I see there is a jira issue about this one... Ron Piterman wrote: Hi all - I have a simlar scenario to the above post with the same name: I call responseBuilder.updateComponent on the template-container of a component with an @EventListener. The component is being rendered but the

@Secured from tapestry-acegi

2006-11-28 Thread Cyrille37
Hello, I'm trying to integrate Acegi by using tapestry-acegi from carmanconsulting.com. I've imported com.javaforge.tapestry.acegi.enhance.* but Java do not recognize the @Secured decoration. import com.javaforge.tapestry.acegi.*; import com.javaforge.tapestry.acegi.enhance.*;

Re: @Secured from tapestry-acegi

2006-11-28 Thread James Carman
The @Secured annotation is from the Acegi library (you have to get the tiger jar). On 11/28/06, Cyrille37 [EMAIL PROTECTED] wrote: Hello, I'm trying to integrate Acegi by using tapestry-acegi from carmanconsulting.com. I've imported com.javaforge.tapestry.acegi.enhance.* but Java do not

Re: @Secured from tapestry-acegi

2006-11-28 Thread Cyrille37
James Carman a écrit : The @Secured annotation is from the Acegi library (you have to get the tiger jar). Thanks a lot. I'm a beginner ... Are directives in the hivemodule.xml from tapestry-acegi.jar are sufficients, or we need to put some more directives in web.xml or spring 's

required checkbox

2006-11-28 Thread Peter Schröder
hi, this is my first post to the list, so welcome you all. i have a tiny problem with a checkbox, that i dont understand. i have a checkbox for terms of use, which i want the user to except: span jwcid=@FieldLabel field=component:AGBfehlermeldung/span input jwcid=[EMAIL PROTECTED]

AW: required checkbox

2006-11-28 Thread Peter Schröder
this works fine! -Ursprüngliche Nachricht- Von: DJ Gredler [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 28. November 2006 17:12 An: Tapestry users Betreff: Re: required checkbox I think you need to set prerender=false on the FieldLabel See the FieldLabel docs at

Re: StateObjectFactory and invoke-factory

2006-11-28 Thread Jesse Kuhnert
I think the reasoning might be because of how simple / easy it is to replace StateObjectFactory itself. Perhaps this area could use some work though. Not sure. On 11/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I was wondering why the tapestry.state.StateObjectContribution does not support

Re: Update component loses its @EventListener

2006-11-28 Thread Ron Piterman
Thanx for pointing this out ! Ron Mark Reynolds wrote: Jesse pointed out that it should be target= instead of element= when the thing being listened to is a Tapestry component (i.e., has a jwcid). Apparently, element= is for html elements that aren't tapestry components. If the problem you

Re: Maven 4.1.1 SNAPSHOTs got reset?

2006-11-28 Thread Jesse Kuhnert
I did reset the snapshots. Felt like the directories were getting overly large. I wonder why maven won't resolve them regardless though? On 11/28/06, Mark Reynolds [EMAIL PROTECTED] wrote: It looks like the maven 4.1.1 SNAPSHOTs somehow started over as of November 25. The consequence seems to

Re: Maven 4.1.1 SNAPSHOTs got reset?

2006-11-28 Thread Mark Reynolds
Maven appears to key off the ordinal at the end of the snapshot name. On 11/28/06, Jesse Kuhnert [EMAIL PROTECTED] wrote: I did reset the snapshots. Felt like the directories were getting overly large. I wonder why maven won't resolve them regardless though? On 11/28/06, Mark Reynolds [EMAIL

Re: Maven 4.1.1 SNAPSHOTs got reset?

2006-11-28 Thread Mark Reynolds
I think the key is to leave metadata.xml and the latest snapshot in place and just whack all the older ones. On 11/28/06, Mark Reynolds [EMAIL PROTECTED] wrote: Maven appears to key off the ordinal at the end of the snapshot name. On 11/28/06, Jesse Kuhnert [EMAIL PROTECTED] wrote: I did

Re: @Secured from tapestry-acegi

2006-11-28 Thread James Carman
You don't need spring at all. You would use your own hivemodule.xml. I believe you can just drop in the jar and the BASIC HTTP authentication will work. There are customization points you can use (like the name of your realm and stuff), but it should work out of the box. On 11/28/06,

RE: intermittent Runtime exception

2006-11-28 Thread Denis Souza
The exception really doesn't tell me much, but from what you said, it might be some problem related to concurrent execution. I had something similar happen. The page the user was loading generated multiple requests to the same application through the same session. Because of the way it was

External POST

2006-11-28 Thread Denis Souza
Hi, I'm having a problem integrating with a 3rd party. The thing is they have this system that sends me an http POST with some data in it. I can chose the url to which the post is sent, but I can't chose how they set up the data. It's very standard procedure to them and they won't change it.

Changing the default location of the component template

2006-11-28 Thread Khan, Hatim
Hello, I am trying to use annotations instead of .jwc files. I have a custom BaseComponent with a template. However, I want the template to be located under WEB-INF/component/mycomponent.html. Going through some of the code, I found out that you can specify the location of the

Page redirect with exception

2006-11-28 Thread Renat Zubairov
Hello, How can I create a Page Redirect (not forward) with exception. I know that listener method may return ILink, then page redirect will happen, but what is analogue of the PageRedirectException that will do redirect and not forward? Thank you, -- Best regards, Renat Zubairov

Re: External POST

2006-11-28 Thread Shing Hing Man
I think you can 'post' to a a Tapestry page that implements the inteface org.apache.tapestry.IExternalPage The interface IExternalPage has a method activateExternalPage(java.lang.Object[] parameters, IRequestCycle cycle) In Tapestry 3, you can retrieve the submitted parameters in method

RE: External POST

2006-11-28 Thread Denis Souza
Thanks! That's where I was headed. I got as far as noticing that request context was deprecated so I was still looking for another solution. Anyway, I'll give that a try, so now I'm trying to find out how to inject the HttpServletRequest object, but I can't seem to remember exactly what to write

RE: External POST

2006-11-28 Thread Shing Hing Man
http://gauss/tapestry4Demo/Inject.html The above link might help (it works now). Shing --- Denis Souza [EMAIL PROTECTED] wrote: Thanks! That's where I was headed. I got as far as noticing that request context was deprecated so I was still looking for another solution. Anyway, I'll give

RE: External POST

2006-11-28 Thread Shing Hing Man
Oohs! It should be http://lombok.demon.co.uk/tapestry4Demo/Inject.html Shing --- Shing Hing Man [EMAIL PROTECTED] wrote: http://gauss/tapestry4Demo/Inject.html The above link might help (it works now). Shing --- Denis Souza [EMAIL PROTECTED] wrote: Thanks! That's where I

Re: External POST

2006-11-28 Thread andyhot
You can simply use cycle.getParameter(parameterName); http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/IRequestCycle.html#getParameter(java.lang.String) Denis Souza wrote: Thanks! That's where I was headed. I got as far as noticing that request context was deprecated

Re: @Secured from tapestry-acegi

2006-11-28 Thread Cyrille37
James Carman a écrit : You don't need spring at all. You would use your own hivemodule.xml. I believe you can just drop in the jar and the BASIC HTTP authentication will work. There are customization points you can use (like the name of your realm and stuff), but it should work out of the box.

Re: @Secured from tapestry-acegi

2006-11-28 Thread James Carman
Ahh yes. You do need to tell Acegi how you want to authenticate, so you need to have an implementation defined for the AuthenticationManager service point I define. On 11/28/06, Cyrille37 [EMAIL PROTECTED] wrote: James Carman a écrit : You don't need spring at all. You would use your own

RE: Changing the default location of the component template

2006-11-28 Thread Khan, Hatim
Ok, it turns out that I can do the following to change the location of a custom component template: @ComponentClass(allowBody = true, allowInformalParameters = false) public abstract class Border extends BaseComponent { @Asset(context:/WEB-INF/component/my-border.html) public abstract IAsset

tacos:DojoMenuBar AjaxDirectlink

2006-11-28 Thread jiju
Hi All, AjaxDirectlinks are not working properly when my page contains tacos:DojoMenuBar. AjaxDirectLink will work only for 3 clicks ,afterwards the link is not working is there any known compatibility issue ? regards jiju -- View this message in context:

Time Picker for 4.0 and some other questions

2006-11-28 Thread Malin Ljungh
I'm using Tapestry 4.0 and need a time picker - is there any third party I can use? Or what do I do? I've seen the DropdownTimePicker in the 4.1 so I guess I should upgrade, but I wonder if it's much work and if the release is stable? Is the 4.1 final? Where can I find migration docs? (4.0 -