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
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]
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
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
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]
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
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
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
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]
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
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]
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
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
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
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
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
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...
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]>
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
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
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
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]
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
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
24 matches
Mail list logo