Re: tapestry and liferay

2006-04-07 Thread Aj Gregory
Inject a RenderResponse for the request and set the title in the pageBeginRender event for your BasePage... If you're using annotations it would look something like: public abstract class View extends BasePage implements PageBeginRenderListener { @InjectObject("service:tapestry.portlet.Ren

tapestry-testng example?

2006-04-06 Thread Aj Gregory
Can anybody give an example on how to use tapestry-testng? http://howardlewisship.com/tapestry-javaforge/tapestry-testng/ -Aj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

copy-of with Component Annotation?

2006-04-05 Thread Aj Gregory
It would appear that there is no way to use "copy-of" with the Component annotation. Is there some other method that you can use with annotations to achieve the same thing? Thanks, -Aj - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Informal parameters in component html template

2006-03-30 Thread Aj Gregory
quot;; else return "disabled"; } HTH, Mark -Original Message- From: Aj Gregory [mailto:[EMAIL PROTECTED] Sent: Thu 3/30/2006 5:30 PM To: Tapestry users Subject: Informal parameters in component html

Informal parameters in component html template

2006-03-30 Thread Aj Gregory
How do you insert the informal parameters in a component's html template? Thanks! -Aj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Example form field component with html template?

2006-03-22 Thread Aj Gregory
I want to create a customer form field component that uses an html template... The standard ones like TextField seem to use AbstractFormComponent and write out the html in renderFormComponent... Can anybody point me to an example of how to create a form field component with html template? Or i

Adding component-type to a component library without .jwc file?

2006-03-21 Thread Aj Gregory
I have a component which uses annotations instead of a .jwc file and I'd like to add it to a component library... Anybody know what to put for the "specification-path" if there is no .jwc file? -Aj - To unsubscribe, e-mail: [E

Partial form submit

2006-03-08 Thread Aj Gregory
I have a form and I'd like to include a @Submit with its own listener that I can use to submit part of the form and then after running the listener re-render the form so the user can then choose to submit with the listener defined for the @Form. For the most part this works except the validato

Tag cloud component?

2006-03-02 Thread Aj Gregory
Anybody know where I can get a component to display a tag cloud? http://en.wikipedia.org/wiki/Tag_cloud -Aj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Portlet Exception Page Rendering

2006-02-21 Thread Aj Gregory
As anybody successfully modified Tapestry 4 portlets to show something different when an exception occurs? The tricks I've seen listed for normal tapestry don't seem to work (i.e. setting "exceptionPageName"). I'd really like to modify so it shows a simple error message or something more frie

Portlet FileUpload

2006-02-14 Thread Aj Gregory
Has anybody tried to hack up tapestry 4.0 yet to get portlet fileupload to work with the new commons-fileupload 1.1? -Aj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tacos & Tapestry Portlets?

2006-02-09 Thread Aj Gregory
Is it true that you can't use Tacos AjaxDirectLink with portlets since getAbsoluteURL isn't supported? Is there a work around? -Thanks -Aj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

DatePicker building invalid javascript variable name

2006-02-03 Thread Aj Gregory
I'm trying to use the DatePicker Component but it's generating a javascript variable with a '-' in the name which it seems to be getting from the id of my portlet. From the looks of the errors I guess '-' isn't valid in a javascript variable name... Is there anyway to control how this variabl

Configuring translators and validators

2006-02-01 Thread Aj Gregory
It seems very limiting that you can only specify a class for "tapestry.form.translator.Translators " and "tapestry.form.validator.Validators" configuration points. I'd really like an option to setup a service id or better yet an object so I can create more interesting translators and validator

Re: Rendering form submit response with the same page.

2006-01-31 Thread Aj Gregory
emplate. -Original Message- From: Aj Gregory [mailto:[EMAIL PROTECTED] Sent: Monday, January 30, 2006 7:36 PM To: Tapestry users Subject: Re: Rendering form submit response with the same page. Thanks for the suggestion! I gave it a shot but the result was the same. -Aj Jesse Ku

Re: Rendering form submit response with the same page.

2006-01-30 Thread Aj Gregory
played. a) verify that your listener is being called b) verify that getTestPage() is not returning null -= Mat On 1/30/06, Aj Gregory <[EMAIL PROTECTED]> wrote: Thanks for the suggestion! I gave it a shot but the result was the same. -Aj Jesse Kuhnert wrote: What about using

Using LinkSubmit to update a required field's property

2006-01-30 Thread Aj Gregory
I have a form with a required field, but I'd also like to use LinkSubmit to set the property associated with the field and submit the form... When I click on the link the property is updated correctly and the form is submitted, but the validation on the field fails since the field is empty...

Re: Rendering form submit response with the same page.

2006-01-30 Thread Aj Gregory
Thanks for the suggestion! I gave it a shot but the result was the same. -Aj Jesse Kuhnert wrote: What about using IRequestCycle to set the page instead? Ie public void doSubmit(IRequestCycle cycle) { cycle.activate(getTestPage()); ? } On 1/30/06, Aj Gregory <[EMAIL PROTECTED]>

Rendering form submit response with the same page.

2006-01-30 Thread Aj Gregory
I have a page which I want to use to display a form and some results after the form is submitted. After the form listener does some work I want to set a value on the page and show the same page again. To do this I created a listener on the page class and inject a page of the same type as the

Re: For component index variable

2006-01-26 Thread Aj Gregory
but then you have to create a get/setIndex() in your java class (right?) which I wanted to avoid since I don't need to access the value in the class just the html... -Aj Chris Chiappone wrote: I believe the @For has that ie. ~chris On 1/26/06, Aj Gregory <[EMAIL PROTECTED]> wr

For component index variable

2006-01-26 Thread Aj Gregory
Is there a way to specify some kind of temporary variable in the index parameter of the For component so I can pass it to the components inside the for loop without declaring the variable in the backing page class? -Aj - To un

page-class-packages

2006-01-25 Thread Aj Gregory
Is there any way to set page-class-packages in hivemind instead of the .application file? -Aj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

tapestry.form.validator.Validators

2006-01-10 Thread Aj Gregory
The configuration point to add validators is very limited given that you can only pass a class name to it. It would be really nice if it was something more flexible like a service or object (like the tapestry.portlet.resolver.PageResolvers configuration)... Anybody tried to get around this by

Tapestry Portlets

2005-12-22 Thread Aj Gregory
Hello, I'm developing portlets using Tapestry 4.0 in Liferay 3.6.1... Liferay lets you have multiple instances of a portlet within a portal. To do this it creates a new instance of the portlet class, which for tapestry is the ApplicationPortlet class. Each time an instance of this class is c