I tried it but had trouble with getting 5.0.5-SNAPSHOT in my pom...
what is correct url for repository with tapestry snapshots now ?
Hrg
On 5/24/07, Nick Westgate [EMAIL PROTECTED] wrote:
Hi Chris.
Refer to this HowTo I just threw on the wiki:
Thiago,
I have downloaded HiberTapestry, but I'm still confused where to
start. Could you give us a quickstart documentation on the website and
a little example with source code to get us going? Also please inform
us when the source for HiberTapestry is uploaded.
Thanks in advance
--
YM!:
It also works with 5.0.4, but to use 5.0.5-SNAPSHOT you might need:
repository
snapshotsenabledtrue/enabled/snapshots
idtapestry-snapshots/id
urlhttp://people.apache.org/~hlship/tapestry-snapshot-repository//url
/repository
Cheers,
Nick.
Davor Hrg wrote:
I tried it
Hi fellas,
Tapestry 4.1.1
I'm trying to use ajax to update a common component without re-rendering
the whole page, which works to some extent...
Basically I call updateComponent on the top most div inside this
component, as there are a number of sub components each of which need to
update.
On Thu, 2007-05-24 at 16:36 -0700, Howard Lewis Ship wrote:
Need an ls -lR of src/main/webapp
I suspect you have a link to a .js file that doesn't exist. If it did
exist, the request would be passed off to the servlet container. Since it
doesn't, and it looks like a Tapestry page request,
Where to find the source?
not open source?
2007/5/25, Thiago H de Paula Figueiredo [EMAIL PROTECTED]:
Hi!
I have just released version 0.1 of HiberTapestry, a Hibernate integration
module to Tapestry IoC. It's hosted at SourceForge:
http://tapestry-mine.sourceforge.net/hibertapestry/ and the
Hi,
I posted about this same thing a month ago, but didn't receive any replies.
Put simply, I don't think you can download them at the moment. You can (I would
imagine) build them using maven, but if you work out how to do this,
please let me know because I gave up after a good 4 hours of
Without getting into a testng vs junit debate, I find the
BaseComponentTestCase class in tapestry-test very useful. However, in
the project I am working on we are using junit. It would be great if
this class could be used as a helper class without needing to extend
it, yet all the useful methods
On 5/25/07, Jun Tsai [EMAIL PROTECTED] wrote:
Where to find the source?
not open source?
Can you read?
2007/5/25, Thiago H de Paula Figueiredo [EMAIL PROTECTED]:
same of Tapestry, Apache License 2. I have not uploaded the sources yet,
but I plan to do it soon.
--
regards,
Hi,
I am a newbie aswell and need a more complex example to get started. Could I
have access to this example aswell please?
Thanks in advance,
Paula
--
View this message in context:
http://www.nabble.com/Non-trivial-example-application--tf3723095.html#a10799815
Sent from the Tapestry - User
Howard,
I use Maven version 2.0.6 is that ok or do I need to go back?
Tapestry is cool. But nowbody will ever know, because you do not know how to
get it running.
What exactly are the steps to take to get at least a hello world banner
running ?!?
Imagine somebody who is really interested in
Hi, All.
I studied the problem how to set callback function on the JSON response and
I found that when JSON response is received no callback function is called.
It happens only if json=true. This happens in the file form.js in
submitAsync:function(form, content, submitName, parms) function. I
Hi Joel,
is there any problem with mine request?
Thanks
Jiri Mares napsal(a):
Hi Joel,
yes, the best way would be send me (can be directly to email) the source
file, class file, instrumented class file by
tapestry, instrumented file by cobertura and instrumented file by cobertura
is there anyone who used execute or addExternalScript methods in
tapestry 4 or above
please tell me how to use those methods in tapestry 4 or above
Kushan Jayathilake
Member - Java Community Process (http://jcp.org)
ok ...
Joel Wiegman napsal(a):
Jiri,
I apologize, I've gotten sidetracked on this. Since Tapestry 5 is such a
moving target right now, the error that appeared to be Cobertura-related went
away and was replaced by a different Tapestry-related error. Right now I'm
working around it by
Jiri,
I apologize, I've gotten sidetracked on this. Since Tapestry 5 is such a
moving target right now, the error that appeared to be Cobertura-related went
away and was replaced by a different Tapestry-related error. Right now I'm
working around it by just not covering the classes involved
hi all,
is anyone able to give me a hint how could I render only one component from
whole the tree of all components that given page consists of? I did such a
thing a few month ago for T4 and it worked exactly like this:
* there was a Border component wrapping all the children
* there was a
i couldn't find a proper answers to the following questions so i would be
grateful if someone could enlighten me a bit.
* how to get a current page that component is rendered on? I know there is
almost no difference between pages and components in T5. in such a case, how
to get a 'root'
Hi,
I have a question concerning the configuration of tapestry5
with the context-param tapestry.app-package and the support
of multiple modules per application (several root-packages).
We have an application that first has modules and then layers
for each module, like the following:
Juan, i have an simple component that maybe can help you. It dinamically
grabs information from the database and put into a PropertySelection. It's
quite simple, but you may have problems because it's not documented --and
i'ts in portuguese, but still is java syntax :-). For your information, I
I'm also trying to separate the packae in TP5.
But I think the package may look like
// business layer
org.comp.app.business.mod1
org.comp.app.business.mod2
// dao layer
org.comp.app.dao.mod1
org.comp.app.dao.mod2
// presentation layer
then the presentation packages shall contain subpackages
Is the example for TP? It seem that it implemented with T4.
2007/5/25, Marcelo lotif [EMAIL PROTECTED]:
oops, it goes without the attachament =D sorry!
2007/5/25, Marcelo lotif [EMAIL PROTECTED]:
Juan, i have an simple component that maybe can help you. It dinamically
grabs information
I am actually writing an issue of Tapestry 4 tutorial on creating a
custom component exactly as you want. To be completed tomorrow, but I am
not sure whether it will be applicable to T5.
-Original Message-
From: Juan Maya [mailto:[EMAIL PROTECTED]
Sent: 23 May 2007 22:59
To: Tapestry
Hi Kolesnikov,
could u please send the link of this tutorial?
thanksOn 5/25/07, Kolesnikov, Alexander GNI [EMAIL PROTECTED]
wrote:
I am actually writing an issue of Tapestry 4 tutorial on creating a
custom component exactly as you want. To be completed tomorrow, but I am
not sure whether it
Hi,
I am having trouble executing a test for a component I made for tapestry
4.1.
java.lang.UnsupportedClassVersionError:
org/apache/tapestry/markup/MarkupFilter (Unsupported major.minor version
49.0)
It seems to me that tapestry 4.1 has been compiled using java 5 and I am
trying to
I've had issues with Java 1.4 and the latest 4.1.2-SNAPSHOT being
incompatible with java 1.4 also. Should we add a JIRA?
On 5/25/07, Jacob von Eyben [EMAIL PROTECTED] wrote:
Hi,
I am having trouble executing a test for a component I made for tapestry
4.1.
Hi!
I am using Tapestry 5.0.4 and trying to display cyrillic unicode characters
within a simple template (Login.html):
t:form t:id=form
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
t:label t:for=username/:
t:textField t:id=username t:value=prop:username/
t:submit
Hi everyone,
I am also trying to work out 3 selects [COMPANY, DEPARTMENT, EMPLOYEES]
(tried using with Tacos Ajax and simple Tapestry).Way it works is, when user
Selects an option in COMPANY, it Displays All the available DEPARTMENTS.
When the User selects a DEPARTMENT, it displays all the
Thank for u help, marcelo, but what i need it's something different
The component i want would be use like this:
t:date value=date/
and t:date has:
select id=month/select id=day/select id=year/
The component renders 3 selects with the day month and year. That's already
done, what
I want to give you a attachement size is not greater than 4k. But SMTP
server always give me a error
The following is the text
I think if you would like to your html look like
select id=month/select id=day/select id=year/
It's right way to render 3 selectc component.
If you just
I am still writing it. Should be completed tomorrow and published at
http://www.devshed.com/c/b/Apache/ in a few weeks time. But I can send
you the draft when it will be ready.
-Original Message-
From: Juan Maya [mailto:[EMAIL PROTECTED]
Sent: 25 May 2007 15:06
To: Tapestry users
Thanks!
I think translators are way to go. I will try it and tell u how it goes.
On 5/25/07, 蝈蝈龙 [EMAIL PROTECTED] wrote:
I want to give you a attachement size is not greater than 4k. But SMTP
server always give me a error
The following is the text
I think if you would like to your html
It's about the quickstart and I'm sorry that the quickstart is broken.
Maven 2.0.6 may work for Hello World, it's currently broken for building
Tapestry itself.
Have you watched the screen cast? Read the tutorial?
On 5/25/07, RobertSchreiber [EMAIL PROTECTED] wrote:
Howard,
I use Maven
There isn't a component, but you can in your page or component class:
@Inject @Path(context:js/main_functions.js)
private Asset _library;
@Environmental
private PageRenderSupport _renderSupport;
void beginRender() {
_renderSupport.addScriptLink(_library);
}
... yes this can/should be
My only concern with the Translators is that they only transalate one
value and to translate the date i need 3 values (month, day, year)
public Double parseClient(String clientValue, Messages messages) throws
ValidationException
so, is it possible to obtain the 3 values within the translator?
I don't know what will be needed in T5, but in T4 everything is plain and easy.
Three PropertySelection components, three simple models for them and a trivial
wire-up. You'll see it soon.
-Original Message-
From: Juan Maya [mailto:[EMAIL PROTECTED]
Sent: 25 May 2007 16:01
To: Tapestry
So i will wait patiently :)
Thanks!
On 5/25/07, Kolesnikov, Alexander GNI [EMAIL PROTECTED]
wrote:
I don't know what will be needed in T5, but in T4 everything is plain and
easy. Three PropertySelection components, three simple models for them and a
trivial wire-up. You'll see it soon.
Maven 2.0.6 works fine for quickstart. I switched back to 2.0.5
yesterday, per recommendation, and it made no difference to me.
Steps for now, until the quickstart example is fixed: Use the
quickstart archetype command line (the doozy one),
here:
Component templates are not allowed in WEB-INF, they must go on the
classpath, in the same package/folder as the Java class. The Layout
component is rendering, but does nothing and the default behavior is to
render its boyd, thus you see the this is a test page text.
On 5/25/07, Jessica
On 5/25/07, Janko Muzykant [EMAIL PROTECTED] wrote:
i couldn't find a proper answers to the following questions so i would be
grateful if someone could enlighten me a bit.
* how to get a current page that component is rendered on? I know there is
almost no difference between pages and
Thank you Howard, that did it. I had Layout.html in WEB-INF as you pointed
out. I just have a follow up question, from a perspective of someone totally
new to this. If I don't need any dynamic content in my layout, why do I need
to create a java class for it? That is, if I just place Layout.html
Hi Everyone.
I'm new to Tapestry and I'm trying to build my first application. I want to
have a common layout with few simple pages and I've read up about the
Layout component, but I'm not exactly sure how to use it. I did the
following:
Layout.html
html
In fact, BeanEditForm and Grid suffer from the same problem, and a fix will
be forthcoming.
Basically, there will be a configuration point for contributing page names,
and matching them up to (in BeanEditForm/Grid) various property types.
The same pattern can hold; define new pages, contribute
Hi,
I have a component, that renders 'feedback' information, and in doing so
interrogates the ValidationDelegate - or at least that is what is
supposed to be happing. However, I haven't found a way to pass the
delegate into this component. Is this possible, and if so - how ?
I'm now trying:
Ok, I was a little off on that last post, sorry to everyone following
this thread.
If you run this (notice the 5.0.4, not 5.0.3)
C:\Projects\wtpworkspacemvn archetype:create -DarchetypeGroupId=org.apache.tape
stry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.4 -DgroupId=org.exa
mple
Yes, the correct way is to inject the Request and obtain the value from it.
There was a lot of confusion through 5.0.4 to support PageTester -- Request
was effectively split into a bunch of smaller interfaces; I've managed to
re-knit everything together properly.
On 5/24/07, Daniel Jue [EMAIL
Turns out in my case I actually didn't need this.
My component now references the delegate using the 'page' shared property:
ognl:page.delegate.fieldTracking
Jan Vissers wrote:
Hi,
I have a component, that renders 'feedback' information, and in doing
so interrogates the ValidationDelegate -
I think you want to re-initialize the selection models in your
pagebeginrender, and if the selection model changes, reset the
selected object to something sensible, like the first element, or
possibly null (no selection)
On 5/25/07, sunilmanu [EMAIL PROTECTED] wrote:
Hi everyone,
I am also
On Fri, 2007-05-25 at 21:52 +0800, 蝈蝈龙 wrote:
I'm also trying to separate the packae in TP5.
But I think the package may look like
// business layer
org.comp.app.business.mod1
org.comp.app.business.mod2
// dao layer
org.comp.app.dao.mod1
org.comp.app.dao.mod2
okay, but first horizontal
On Fri, 2007-05-25 at 07:54 -0700, Howard Lewis Ship wrote:
There isn't a component, but you can in your page or component class:
@Inject @Path(context:js/main_functions.js)
private Asset _library;
is it possible to set the js/main_functions.js dynamically
via java, or retrieve it from a
Yes, you can. The AssetSource service is public, so you can ask it for a
dynamically determined service.
In 5.0.5 snapshot, you can do the following:
@Inject
private Request _request;
public Request getRequest() { return _request; }
public String getLibraryPath() { return ... }
And in the
As simple as it can get :
@Inject
private ComponentResources resources;
Component setupRender() {
return resources.getEmbeddedComponent(yourComponent);
}
boolean beginRender() {
}
On 5/25/07, Janko Muzykant [EMAIL PROTECTED] wrote:
hi all,
is anyone able to give me a hint how could I
If the component is enclosed by the Form, it can get the Form instance, and
get the validation delegate from the Form. I believe there's a method on
TapestryUtils to handle this.
On 5/25/07, Jan Vissers [EMAIL PROTECTED] wrote:
Turns out in my case I actually didn't need this.
My component
sorry , pressed wrong button:
boolean beginRender() {
return false;
}
And the doc is here :
http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html
On 5/25/07, Alexandru Dragomir [EMAIL PROTECTED] wrote:
As simple as it can get :
@Inject
private ComponentResources
Did you run into https://issues.apache.org/jira/browse/TAPESTRY-1423 and can
you verify the fix that's currently in 5.0.5-SNAPSHOT?
On 5/24/07, Joshua Jackson [EMAIL PROTECTED] wrote:
Cool. I'm going to check this out since I also need tapestry and
hibernate integration. So how is this
In Tapestry 4 and earlier, there was a kind of ambiguity about what a
component or page was. This screwed over Geoff in terms of Spindle for
T4, and generally made even the simplest discussion of where to put what
files a chore.
For T5, components are classes. Pages are a special flavor of
Just a suggestion, without having tested it...
The Java implementation of Property is not able to read UTF-8 encoded
characters in the .properties file because it uses Latin1 as its (only)
encoding. See http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html
and its recommendation to
thanks juan
On 5/23/07, Juan Maya [EMAIL PROTECTED] wrote:
Sure..
in the page template i have:
select t:id=month model=monthModel value=month /
and in tha java file
@Component (id=month)
private Select monthSelect;
/**
* @return the monthsModel
*/
public SelectModel
The trick is, the Hidden component can record ANY type of value ... string,
long, Date, Serializable, etc.
The S is a prefix used to encode the type of value; when the form is
submitted, this is used to turn the client-side value back into a server
side value (for S it's just a matter of
Peter,
There isn't any way unless you want to encrypt it yourself.
regards,
Mark
Mark J. Stang
Senior Engineer/Architect
office: +1 303.468.2900
mobile: +1 303.507.2833
Ping Identity
-Original Message-
From: Peter Dawn [mailto:[EMAIL PROTECTED]
Sent: Thu 5/24/2007 10:19 PM
To:
This may be a crazy question but, has Tapestry 5 been tested on the
J2EE reference implementation (note quotes)?
I've been developing on Jetty for quite a while with no problems
(because it's easier), but when I tried deploying the war to our QA Sun
app servers, none of the component classes
What do you mean by doesn't function properly ?
On 5/22/07, Jan Vissers [EMAIL PROTECTED] wrote:
Hi -
I started to place all my pages below the 'context' root. After sometime
I decided to create a
'pages' directory to store my pages. With this change the annotations
doesn't seem to
function
Unfortunately I don't think there is enough information there for me to do
anything. I'm pretty sure it's an OGNL issue but will need more specifics
about the objects / types involved in the exception stacks shown.
On 5/22/07, Chris Chiappone [EMAIL PROTECTED] wrote:
Okay I downgraded to tap
On the server side all you need to do is implement this interface in your
page or component:
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/IJSONRender.html
There is only a dummy stub function definition for JSON responses on the
tapestry client side, so you must re-define
Not yet, it's on my to do list for this weekend.
On 5/24/07, Peter Schröder [EMAIL PROTECTED] wrote:
hi jesse,
did you manage to put that version to some mirror? maven does not find
1.0.0. do i need to ad a repo-location to my settings?
kind regards
peter
-Ursprüngliche Nachricht-
It's just like the documentation says -
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/IScriptProcessor.html.
So, probably something like:
getTapMapScript().execute(this, cycle, pageRenderSupport, symbols);
On 5/24/07, Kushan Jayathilake [EMAIL PROTECTED] wrote:
hi
i
Yes tapestry is aware of component containing logic and yes whatever problem
you are having (attachments aren't allowed on the apache mailing lists so no
one saw it ) is probably fixed in 4.1.2.
On 5/25/07, Paul Stanton [EMAIL PROTECTED] wrote:
Hi fellas,
Tapestry 4.1.1
I'm trying to use
I'll make sure they are included in the upcoming 4.1.2 release.
On 5/25/07, Gareth [EMAIL PROTECTED] wrote:
Hi,
I posted about this same thing a month ago, but didn't receive any
replies.
Put simply, I don't think you can download them at the moment. You can (I
would imagine) build them
Yes for reasons like this . :)
I would be ok with supporting junit (somehow) but don't know how the
EasyMock parts are supposed to get handled there as the top level base class
(which isn't BaseComponentTestCase) relies on @BeforeMethod / @AfterMethod
annotations to do before/after cleanup
Yep it's definitely a bug. Will try to fix that today:
https://issues.apache.org/jira/browse/TAPESTRY-1517 .
On 5/25/07, Denis Burlaka [EMAIL PROTECTED] wrote:
Hi, All.
I studied the problem how to set callback function on the JSON response
and
I found that when JSON response is received no
I think I replied to a previous message about this one already so look
there, but the short is pass in this for the component parameter. (in
most instances)
On 5/25/07, Kushan Jayathilake [EMAIL PROTECTED] wrote:
is there anyone who used execute or addExternalScript methods in
tapestry 4 or
Yes please do.
On 5/25/07, Chris Chiappone [EMAIL PROTECTED] wrote:
I've had issues with Java 1.4 and the latest 4.1.2-SNAPSHOT being
incompatible with java 1.4 also. Should we add a JIRA?
On 5/25/07, Jacob von Eyben [EMAIL PROTECTED] wrote:
Hi,
I am having trouble executing a test for a
Yep. TapestryUtils.getForm(this, cycle). (something like that)
On 5/25/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:
If the component is enclosed by the Form, it can get the Form instance,
and
get the validation delegate from the Form. I believe there's a method on
TapestryUtils to handle
I think Tapestry uses a LocalizedProperties class to load properties files
so you don't need to use native2ascii doesn't it? It does in T4 at least. I
even saw that GWT is using the same class with a special thanks to Tapestry
for providing it. :)
On 5/25/07, James, Nick CWT-MSP [EMAIL
Thank you for the right direction... I tried that out and with little
adjustments.. It works all fine..
-sunil
Daniel Jue wrote:
I think you want to re-initialize the selection models in your
pagebeginrender, and if the selection model changes, reset the
selected object to something
That hasn't been implemented for T5 yet, but the underpinnings (meta-data
support for components, to determine the encoding) is present. XML
properties files is news to me however and worth looking into!
On 5/25/07, Jesse Kuhnert [EMAIL PROTECTED] wrote:
I think Tapestry uses a
Like this:
1) For action links, informal parameters
t:actionlink target=_blankStart guessing/t:actionlink
2)
For forms with a submit, where the result page opens in a new window:
t:form t:id=doReportsForm action=reportsForm target=_blank
t:submit t:id=onSubmit name=Run Report value=Run
ok, then, Gareth, let's wait. And Jesse, thanks for your hard work!
I am new to Tapestry 5 and got lost in IoC. I am trying to handle some security
aspects in the RequestFilter.
Therefore I wrote a test SecurityFilter class which implements RequestFilter
and is registered by the ApplicationModule. Everything works well.
But now I wonder how it is possible to
There will be an extension point where the page name will be known, soon:
https://issues.apache.org/jira/browse/TAPESTRY-1479
On 5/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I am new to Tapestry 5 and got lost in IoC. I am trying to handle some
security aspects in the RequestFilter.
I find some magic event for some component,where to find all events?
i.e
onPrepareFromForm
onActive
...
Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
-
To unsubscribe, e-mail: [EMAIL
There currently is not a way to describe the events that may be produced by
a component, except in documentation. In addition, mixins may themselves
emit and receive event notifications.
Also, onPrepareFromForm is the prepare event originating from component
id form (as always, case is
Hi,
How can i get HttpServletRequest.getRemoteAddr() in T5?
Marcus
Hi,
Using this code
@Inject
private RequestGlobals _globals;
there's no _globals.getHTTPServletRequest() method in T5.0.4
Can you help me?
Thanks,
Marcus
Hi Juan,
Take a look at http://sundraw.ws/components.jsp
Marcus
It's a T4 example
* @author Alexander Kolesnikov
* @version 1.0
Thank you Daniel.
Its not working, when I put this there it gives me errors as
org.Apache.hivemind.ApplicationRuntimeException
org.Apache.tapestry.IScript.execute(Lorg/Apache/tapestry/IComponent
Lorg/Apache/tapestry/IRequestCycle;Lorg/Apache/tapestry/IScriptProcessor
Ljava/util/Map;)V
and
Its not working, when I put this there it gives me errors as
org.Apache.hivemind.ApplicationRuntimeException
org.Apache.tapestry.IScript.execute
(Lorg/Apache/tapestry/IComponent;Lorg/Apache/tapestry/IRequestCycle;Lorg/Apache/tapestry/IScriptProcessor;Ljava/util/Map;)V
and
89 matches
Mail list logo