the default FormValid message is in the package
org.apache.tapestry5.internal
you can add same package in your resource file, add a new file
ValidationMessage.properties
this will override the default one.
it works in my project!
2012/3/1 Markus Grell tapes...@military.de
Greetings!
I need
Great Idea!
2011/10/30 Barry Books trs...@gmail.com
I'm working on a couple of projects that will use Twitter Bootstrap
http://twitter.github.com/bootstrap/ templates so I decided to create
a Tapestry Module for this. The project is on GitHub
https://github.com/trsvax/tapestry-bootstrap and
Both rc-1 and rc-2, I got this Invalid byte 1 of 1-byte UTF-8 sequence.
but works fine with beta-26
is there any new changes??
2011/11/1 Howard Lewis Ship hls...@gmail.com
Uh, yes. It's been a trying afternoon.
On Mon, Oct 31, 2011 at 3:26 PM, Muhammad Gelbana m.gelb...@gmail.com
wrote:
T5, I don't use the UTF8 filter. and my tml page is GBK,eclipse project
encoding is GBK,
works fine!
what is your page charset???
--
Yet Another Java EE Developer!
Hi all,My app is using T5.1.0.5, and tomcat 6.0.18,jdk6,deployed as a war
file.
when app works fine some days, then it blocked when the brower request the
prototype.js.
I use the firebug to find that the blocked request is
I found there is a t5-webflow,is there any example or docs?
--
Yet Another Java EE Developer!
You can find T5 javadoc here http://tapestry.apache.org/tapestry5/apidocs/
2008/10/27 Muralidhar Y [EMAIL PROTECTED]
Hi all where can I find tapestry's java API ? I could not see that on site.
Warm regards,
Muralidhar Y
[EMAIL PROTECTED]
US Main: 877 KENSIUM (536.7486)
India Main:
Great!
2008/9/22 Howard Lewis Ship [EMAIL PROTECTED]
Tapestry 5.0.15 is now available for download or via Maven.
We've squeezed a whole lot of last minute improvements and fixes into
(what was supposed to be) the released candidate. Alas, we missed a
couple so the release candidate will be
invoking constructor ee.softpro.data.Role(long, String, String,
boolean, String, String, String) (at Role.java:20) (for service
'ApplicationStateManager'): No service implements the interface long.
I dont know yet why!
2008/8/22 Donyee [EMAIL PROTECTED]
I tried to implement
The first error is because T5 try to init your appState with a default
constructor,but doesn't match, so init got error!
The second error is a wrong use of appState.
Maybe you need a AppStateCreater, you can find here
http://tapestry.apache.org/tapestry5/guide/appstate.html
There is a example.
I tried to implement a ApplicationStatePersistenceStrategy using Memcached.
but in my page Start.java:
@ApplicationState
private AppState appState;
@ApplicationState
private SessionAppState session;
@Inject
private Logger log;
void onActivate() {
log.info(cache
Where is the link???
2008/8/20 Angelo Chen [EMAIL PROTECTED]
[EMAIL PROTECTED]
(let's talk only about tapestry 5 in this forum, in English too)
孟凡振 wrote:
Firstly,thank u for your suggestion!!
学习是一个过程,不管你现在多牛x,你也是从中国式的英语过度过来的吧,呵呵。况且,俺还不知道您的英语如何。
any demos about the FormInjector?
Some link will be great!
I check the apache svn,but it seems not the FormInjector example.
--
Yet Another Java EE Developer!
Great!
2008/8/11 Howard Lewis Ship [EMAIL PROTECTED]
The latest release of Tapestry, Tapestry 5.0.14 , is now available.
Tapestry 5.0.14 is just about feature complete and can be considered a
beta release. A release candidate is expected in the near future.
5.0.14 addresses a large number
I use the tapestry-spring, and
org.apache.tapestry5.spring.TapestrySpringFilter,
then my app get nothing log from tapestry, but the spring boot log and
hibernate sql log.
Is there any other config i miss?
It seems my log4j file doesn't work!
--
Yet Another Java EE Developer!
*1*.add this in your tml file.
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
*2*.in the AppModule.java, add
public static void contributeApplicationDefaults(
MappedConfigurationString, String configuration) {
I use the form component,and the form code: JSONStreamResponse onSuccess();
The json is like {'url':'loginpage'}.
how can i get this json data in my javascript method?
Is there a form submit callback method?
--
Yet Another Java EE Developer!
when i click to submit the form, i got java.lang.IllegalStateException.
I search the web and found that wes because the wrong use of
response.getOutputStream(); and response.getWriter();
Is this a bug?
how to fix this?
In my java code:
StreamResponse onSuccess() {
return new
Hi, i got some ideas.
you can cache the index page as a static html page.
then use the static html page to response to the client.
you can extend tapestry to generate a static html page, just write the index
to a real html file.
then rewrite the client request, the apache httpd docs may help.
I had developed a crud system using tapestry-5-0-5, it works fine!
and i will upgrade to the latest version.
2008/3/27, Martin Grotzke [EMAIL PROTECTED]:
Hi,
we also have a production app running T5 http://www.smatch.com, very
stable, up and running.
Cheers,
Martin
On Wed, 2008-03-26
T5 now supports singleton and per-thread scope;
in the webapps the per-session is also a good way!
Any tips?
--
Yet Another Java EE Developer!
How to add a DOCTYPE in the tapestry tml page.
I put
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
in the page.
Error:
java.lang.RuntimeException Namespace prefix for URI '
http://www.w3.org/XML/1998/namespace' is not defined.
and in
I use T5.08-SNAPSHOT.
my page:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head...
T5.07 works fine!
T5.08-SANPSHOT turns wrong!
2008/1/10, Donyee [EMAIL PROTECTED]:
I use T5.08-SNAPSHOT.
my page:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd;
html xmlns:t=http://tapestry.apache.org/schema
I want to create a new object per request, and my code is like:
@Scope(IOCConstants.PERTHREAD_SCOPE)
public Encoder buildEncoder() {
System.out.println(new Encoder()...*);
return new Encoder();
}
when i request my page with IE and FireFox,
PROTECTED]:
On Jan 3, 2008 10:49 AM, Donyee [EMAIL PROTECTED] wrote:
is there anything wrong with my code?
You actually didn't show your code.
--
Massimo
http://meridio.blogspot.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED
I use tapestry-hibernate in my apps,
in one page:
t:grid source=pageList row=page2
t:parameter name=pageIdcell
t:actionLink id=pageDelete context=${page2.pageId}删除/t:actionLink
t:pageLink page=sysadm/editpage context=${page2.pageId}更新/t:pageLink
/t:parameter
/t:grid
in editpage.java
void
I got the answer from the sources, because the
ComponentActionDispatcher.java
decode the url with a default charset which doesn't support utf-8!
I'm now trying to create a new dispatcher to solve this question.
2007/11/4, Filip S. Adamsen [EMAIL PROTECTED]:
Hi Donyee,
Have a look
I use the actionLink, and the context contains utf8 string,
and the onUpdate(string str)...
the str is ???, encoding wrong!
Where is the book?
Can someone give me a copy? or the download url ?
2007/11/1, Eko S.W. [EMAIL PROTECTED]:
I am sorry, but How can we use DateField in 5.0.6?
I am so late on 5.0.6
Thanks
2007/10/26, Ted Steen [EMAIL PROTECTED]:
Very nice!
Dont forget to update the part about the
Try this: format=%Y%m%d, you will get mmdd
also you can use :format=%Y-%m-%d, then you will get -mm-dd
Do you need this?
2007/10/28, T. Papke [EMAIL PROTECTED]:
Hi,
i have tried the new Tapestry 5 DateField Component. If i setup a
Dateformat for rendering, the component itself
in my appModule.java, i changed :
public void contributeHibernateSessionSource(
OrderedConfigurationString configuration) {
configuration.add(my, org.ts.domain.bo);
}
2007/10/26, Donyee [EMAIL PROTECTED]:
I got errors when i use T5.06-hibernate, and my app works
I got errors when i use T5.06-hibernate, and my app works fine when i use
T5.05!
Also i changed the html to tml, sl4j...
Error:
No service implements the interface org.apache.tapestry.ioc.Configuration.
Error invoking service builder method
Thanks all!
2007/10/24, Robin Helgelin [EMAIL PROTECTED]:
On 10/24/07, lasitha [EMAIL PROTECTED] wrote:
https://issues.apache.org/jira/browse/TAPESTRY-1800
Its a good idea to keep an eye on jira or the developer mailing list
for some forewarning of such chanages :).
Or just check the
I tried the t5.07 snapshot today, the Inject Annotation is not found in the
src.
the doc is not mentioned, Is there anything new?
徐 依伟
I use @Scope(PERTHREAD_SCOPE) on build method in my AppModule.java.
It will create new instance in every new request, but it seems the method
build a singleton!
I use IE and FireFox request the page!
my code: in AppModule.java
@EagerLoad
@Scope(PERTHREAD_SCOPE)
public BoboCacheState
threadDidCleanup() {
cache.getCacheEventNotificationService
().unregisterListener(state);
});
return state;
}
On 10/17/07, Donyee [EMAIL PROTECTED] wrote:
I use @Scope(PERTHREAD_SCOPE) on build method in my AppModule.java.
It will create new instance
The tap webapp's index page can response json to client!
StreamResponse onUpdateMsg()...url:localhost:8080/bobo/index:updatemsg
I wonder if i can get the json data from another webapp?
I tried to request the urllocalhost:8080/bobo/index:updatemsg in a ajax
request!
but i didn't get the json data!
wrong with using a colon within the path of a URI.
Do you know of any problems with this? Its been working so far...
Perhaps i'm missing the point?
On 10/12/07, Donyee [EMAIL PROTECTED] wrote:
The colon (:) /index:updatemsg is not a uri,
how could i get a /index.updatemsg?
2007/10/12
' and clicking it will invoke onUpdateMsg().
Is that what you're looking for?
Cheers,
lasitha.
On 10/12/07, Donyee [EMAIL PROTECTED] wrote:
I request the /index.updatemsg and get a json data, the
onActionFromUpdateMsg() method works fine!
but i request the /index:updatemsg, it response
Here is my code:
Index.java
@Inject
private ComponentResources resource;
public String getUpdateLink() {
Link link = resource.createActionLink(updateMsg, true);
return link.toURI();
}
and in Index.tml:
${updateLink}...
It displays /index:updateMsg, it should be /index.updateMsg!
Is this a bug?
I use T5.06 snapshot !
2007/10/12, Donyee [EMAIL PROTECTED]:
Here is my code:
Index.java
@Inject
private ComponentResources resource;
public String getUpdateLink() {
Link link = resource.createActionLink(updateMsg, true);
return link.toURI();
}
and in Index.tml:
${updateLink
/tapestry5/tapestry-core/apidocs/org/apache/tapestry/ComponentResourcesCommon.html#createActionLink(java.lang.String,%20boolean,%20java.lang.Object...)
On 10/12/07, Donyee [EMAIL PROTECTED] wrote:
I use T5.06 snapshot !
2007/10/12, Donyee [EMAIL PROTECTED]:
Here is my code:
Index.java
Try this!
a t:type=pageLink page=getcomment context=blogId
onclick=loadMoreComment(this.href); return false; span
LoadMore/span /a
2007/10/6, Angelo Chen [EMAIL PROTECTED]:
Hi,
I have a very simple Ajax need, here is the situation:
My page will
Looks here!
http://groups.google.com/group/t5hrm/web/tapestry-5?hl=zh-CN
2007/8/11, sun58224 [EMAIL PROTECTED]:
sun58224 sun58224 at sina.com writes:
Tapestry5.0.5 Chinese Firefox can show normal, and in IE6 or not.
-
Hi all, I want to use the guice in my t5 app?
does anyone got ideas to use it like tapestry-spring?
徐 依伟
Thanks, I got the idea!
2007/8/9, Nick Westgate [EMAIL PROTECTED]:
I haven't looked into it, but search this list.
Back in April Leon Pennings posted about it.
Cheers,
Nick.
Donyee wrote:
Hi all, I want to use the guice in my t5 app?
does anyone got ideas to use it like tapestry
Is this a bug?
在 07-8-1,小司[EMAIL PROTECTED] 写道:
Yes, My pallete does not work ,Button is disabled.only submit button works
well
2007/8/1, Donyee [EMAIL PROTECTED]:
I use the pattle component in my pages, it works fine in the firefox,
but in the IE the
(select)buttons were disabled
I use the pattle component in my pages, it works fine in the firefox,
but in the IE the
(select)buttons were disabled!
Does anyone meet this problem?
徐 依伟
I need to submit a hidden value, so i write like this:(copy from this TextField)
public class HiddenField extends AbstractTextField {
@Override
protected final void writeFieldTag(MarkupWriter writer, String value) {
writer.element(input, type, hidden, name,
into the html?
Also, you probably want to extend AbstractField, not AbstractTextField.
Cheers,
Nick.
Donyee wrote:
I need to submit a hidden value, so i write like this:(copy from this
TextField)
public class HiddenField extends AbstractTextField {
@Override
protected final void
I do this in the beforeRenderTemplate(),and works fine!
boolean beforeRenderTemplate() throws IOException, ServletException {
if (!isLogined()) {
if (appState == null) {
appState = new AppState();
}
Which version do you use? T5.05 works fine!
2007/7/15, Shing Hing Man [EMAIL PROTECTED]:
The exception for
form t:id=myForm
is in my orginal email.
Shing
form t:id=myForm
with
@Component(id = myForm)
private Form form;
in the page java class works.
Thanks!
Shing
--- Eugene Lozovan
你要是用Eclipse的话,最好安装个属性文件插件,因为Eclipse本身的好像不好用
http://propedit.sourceforge.jp/eclipse/updates/
You'd better install a plugin for eclipse if you're using it.
http://propedit.sourceforge.jp/eclipse/updates/
2007/7/14, sun58224 [EMAIL PROTECTED]:
1.properties file does not support UTF8.
2.Sort
I'm looking for it too!
2007/7/13, Adam Zimowski [EMAIL PROTECTED]:
Well, for instance sample request flow diagram demonstrating core
components involved when Tap 5 is at work. Something similar to
component render states diagram.
Perhaps discussion about Tapestry page cache and point out
You can find it here!
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner
2007/7/11, Adam Zimowski [EMAIL PROTECTED]:
Okay, I still don't know a Tap5 way of doing this, so this works,
although that's an ugly hack:
Template:
t:errors banner=banner/
Page Class:
, Donyee [EMAIL PROTECTED] wrote:
You can find it here!
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner
2007/7/11, Adam Zimowski [EMAIL PROTECTED]:
Okay, I still don't know a Tap5 way of doing this, so this works,
although that's an ugly hack:
Template
I change 5.05 to 5.04,then it works fine.
2007/7/10, Howard Lewis Ship [EMAIL PROTECTED]:
What version of Maven are you using?
On 7/9/07, Nazmul Bhuiyan [EMAIL PROTECTED] wrote:
Hello,
I'm following the T5 tutorial and getting the following error. I've ran this
at my work pc. Is there any
Do you use the T5? I am using t5!
Thanks !
2007/7/6, Malin Ljungh [EMAIL PROTECTED]:
You can use the following syntax for example:
binding name=validators value=validators:required[The {0} is
missing!],min=0/
/Malin
On 7/6/07, Donyee [EMAIL PROTECTED] wrote:
Hello everyone!
I want
Cool, I should try this first!
It works fine!
2007/7/6, Erik Vullings [EMAIL PROTECTED]:
Hi Donyee,
Please have a look here:
http://wiki.apache.org/tapestry/Tapestry5HowToOverrideTheDefaultErrorMessageBanner
Cheers
Erik
On 7/6/07, Malin Ljungh [EMAIL PROTECTED] wrote:
No, sorry, I use T4
Hello everyone!
I want to change the default validate message,such as You must
provide a value for ... ,
To change the source file maybe not grace! is there another way?
徐 依伟
I try to use the Tapestry-ioc in the other packages,not just in the
.pages.* package.
Does it support this?
I try to use @Inject in my domain.service.Impl.AccountServiceImpl.java
code: @Inject private AccountDao dao;
but it doesn't work!
Any suggestion?
徐 依伟
Hi all, I am using T5.05 snapshot + Spring2 in my app. After I start
the server(Jetty or Tomcat5), when i click the pageLink ( a ) in my
page sereral times ,then the app becomes slowly. The memory changes
not much.
The app is well before i add the Spring to manage the Dao.
Does anyone meet this
In T5.04 you can find it.
2007/5/2, Joshua Jackson [EMAIL PROTECTED]:
Dear all,
I wanted to try the guide on assets located here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html
But the problem is I can not find @Path anywhere in my tapestry library.
Currently I am using
I wrote a employee(pojo) with a hiredate (Date type),
When it works with a grid, the grid didn't render the hiredate column.
Other types(int or string ) work fine!
Can anyone explain this?
thanks for any help!
--
Chinese name:徐 依伟
English name: will
Lozovan [EMAIL PROTECTED]:
Yes, I also would like to know the way to have a grid with link on a page.
E.g. grid with users list and click on a row takes navigation to an
EditSpecifiedUser page.
Thanks in advance!
On 24/04/07, Donyee [EMAIL PROTECTED] wrote:
Is there a simple way to add a pagelink
Hey , may I ask another question? How to read a utf-8 char from
the form? a TextField? I fill the form with a utf-8 char,then it
couldn't display right!
--
Chinese name:徐 依伟
English name: will
--
Chinese name:徐 依伟
English name: will
hello
--
Chinese name:徐 依伟
English name: will
I got one lastnight!
2007/4/15, Jesse Kuhnert [EMAIL PROTECTED]:
Not sure, but if I were a spam blocking program I'd view your all numeric
email address as highly suspect.
On 4/15/07, Koka Kiknadze [EMAIL PROTECTED] wrote:
Occasionally when trying to post reply I recieve
Delivery to the
Thank you Nick!
and I set ?xml version=1.0 encoding=UTF-8? in the *.html file。
2007/4/16, Nick Westgate [EMAIL PROTECTED]:
/*contributing a HttpServletRequestFilter */
...
doesn't work!
Maybe something wrong!
I didn't check to see why it doesn't work, but I've been
looking into this issue
71 matches
Mail list logo