As part of a student project we developed a small component to export
(download) tabular data in the CSV format. We thought it might be useful for
others and described it in the Wiki
(http://wiki.apache.org/tapestry/ExportingCSVFiles). The code is also
available on Tassel.
The data to export
Hello,
I have a form embedded in a component that is then used on multiple
pages. The form gets rendered correctly, but the action HTML parameter
does not get set - well, it gets set to the path to the page. Here's
some source:
PollModuleComponent.java:
...
@Component(type = Form, bindings =
That's great! Good work with putting it up on Tassel.
Cheers,
PS
On 6/21/06, Martin Schnyder [EMAIL PROTECTED] wrote:
As part of a student project we developed a small component to export
(download) tabular data in the CSV format. We thought it might be useful
for
others and described it in
Hi all,
How do get the default error page to log into log4j?
I really dont need to overide the default error page (this is an internal
application) but I do need the errors logged. Any help is appreciated!
Thanks,
Amir
-
To
Override the implementation of the tapestry.error.ExceptionPresenter service
point (until I change the way it works). In your hivemodule.xml file:
implementation service-id=tapestry.error.ExceptionPresenter
invoke-factory
construct class=com.myco.web.error.MyExceptionPresenter /
My team did something like this recently. We put a line in our
*.application file:
page name=Exception specification-path=/ErrorPage.page /
Then we copied/modified the code from tapestry's error page so we could pipe
tapestry's stacktrace generation to log4j. The actual html/page file was
just
Hi James,
I created my own ExceptionPresenter and added the entry to the hivemodule.xml
file and it now logs, but the original error display page is not showing. Is
there any way to display the error (as it does by default) and log it?
Thanks,
Amir
--- James Carman [EMAIL PROTECTED] wrote:
Page 112 of 'Tapestry in Action' mentions that radio components must be
enclosed by RadioGroups but don't need to be directly enclosed- they can
be scattered about the html. Nice feature but no explanation or example
given. Will someone show a simple example of html that is using this
I wish it was that simple, but it's not working! The problem is that the
_exceptionPageName field is not being set. When I removed the hivemodule.xml
entry, the field gets populated with Exception. So I tried this just to see
if it works:
@Override
public void
Copy the definition from the original hivemodule.xml:
implementation service-id=tapestry.error.ExceptionPresenter
invoke-factory
construct class=com.myco.web.error.MyExceptionPresenter
set-object property=exceptionPageName
Steve,
I did'nt need to create a specific error page, but thanks for the
ExceptionAnalyzer code snippet... that came pretty handy.
Thanks,
Amir
--- Steve Shucker [EMAIL PROTECTED] wrote:
My team did something like this recently. We put a line in our
*.application file:
page
Hi all,
I meet a error which state that source is null for getProperty when I
want to access the table rows data inside table view with follow syntax
ognl:isBlank(components.rows.tableRow.parentCompanyName)
Thank you in advance for any idea.
Cheers!
--
Regards,
Khong Seng Kin
Do you mind posting an example, here is the way I tried using it
tdinput type=submit class=button value=larr; Back
onclick=document.form.elements.cancel nbsp; input type=submit
class=button value=Login rarr;/td
and the form component
component id=form type=Form
binding name=success
Hi,
I'd like to use the html symbols rarr; (right arrow) and larr; (left
arrow) inside submit component
td
input type=submit [EMAIL PROTECTED] class=button value=larr;
Back nbsp;
input type=submit class=button value=Login rarr;
/td
My problem is that Tapestry escape this
Hello,
I get
java.io.FileNotFoundException
http://tapestry.apache.org/dtd/Script_3_0.dtd
Is there a way to turn off xml validation?
Regards,
Norbi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Please see my below example.
Shing
Java file :
import org.apache.tapestry.IRequestCycle;
public abstract class TestValidateNumber extends
BasePage {
public abstract double getNumber();
public abstract void setNumber(double num);
public abstract
That syntax is documented here:
http://tapestry.apache.org/tapestry4/UsersGuide/validation.html#validation.fields
What aspect of localization is not working? The format? date symbols?
or validation error messages? all of the above?
The format is unfortunately hard coded and can be overridden.
Thank you Jesse :)
But my my question is still valid. For example in production I don't
want the xmls to be validated.
Is there a way to turn it off?
Regards,
Norbi
Jesse Kuhnert wrote:
Oops! Sorry about that. Should be resolvable/fixed in about 40 minutes.
On 6/21/06, Norbert Sándor
Hi, how do you specify the URL on the refresh parameter of the Shell
component? I don't see the content as part of its parameters.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Rather than grabbing it from the TableComponent, can I suggest that
you just make it so that it accepts the same source object
(IBasicTableModel) and columns property, which would make it very easy
to use, since the syntax would be identical to the table which would
probably be declared directly
Does anyone have the 3.0.3 version of an autocompleter?
thanks,
Mark
-Original Message-
From: Didier LAFFORGUE [mailto:[EMAIL PROTECTED]
Sent: Tue 8/23/2005 2:56 AM
To: Tapestry users
Subject: Re: Ajax autocomplete
I developped the liveTextField component you found in Tassel.
I serve pages to different sorts of devices, so I need to set the mime type.
Right now the logical place to do it is in my custom Shell component.
I saw a solution of overriding a method on the page, but this is something I
need to do for all pages.
So do I have to override a service or can I
OK, so the whole mechanism does work correctly, but only if the stale
session occurs when the user is accessing an ExternalLink. In that
case, storing the serviceParameters in the ExternalCallback is
sufficient for getting good values to deal with during
activateExternalPage(). Unfortunately,
Thank you Paul.
It is the localized format of the date that is not working. My app is
localized to Swedish and the 'sv' date format is -mm-dd but the only
thing that works with the date translator is mm/dd/ I think.
Malin
On 6/21/06, Paul Ferraro [EMAIL PROTECTED] wrote:
That syntax
24 matches
Mail list logo