i think that there is no need for a tutorial that does not work.
i would appreciate it, if someone fixes the archetype, so that beginners dont
have to deal with deprecated stuff.
-Ursprüngliche Nachricht-
Von: Massimo Lusetti [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 3. April 2007
Neat, that looks like it could work - thx Andreas!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas
Andreou
Sent: Tuesday, April 03, 2007 11:56 PM
To: Tapestry users
Subject: Re: Prerendering a field
http://tapestryjava.blogspot.com/2004/12/back-fr
Well, we will probably head into clustering some day. What pattern,
then, can we use to do optimistic locking without hibernate "long
conversations"? I don't think session-per-request can do it.
bill
On 4/3/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
My problem with session-per-conversat
This probably has been answered in the past, sorry if I'm repeating.
Creating a simple page without specification (just the .html file, without
the .page) always throws PageNotFoundException: "Page '' not
found in application namespace."
However, documentation mentions
(http://tapestry.apache.org
http://tapestryjava.blogspot.com/2004/12/back-from-shoppingcom-defer-component.html
could give some ideas though...
On 4/4/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
None that I know of. It's extremely hacky as it is with just
FieldLabel / TextField.
On 4/3/07, Anton Nikitin <[EMAIL PROTECTE
None that I know of. It's extremely hacky as it is with just
FieldLabel / TextField.
On 4/3/07, Anton Nikitin <[EMAIL PROTECTED]> wrote:
Hi all,
Is there a quick way to trigger prerendering of some field (for a standard
component, like @TextField) before another field, similar to @FieldLabel's
Hi all,
Is there a quick way to trigger prerendering of some field (for a standard
component, like @TextField) before another field, similar to @FieldLabel's
"prerender" attribute?
I'm trying to find a workaround for T's trick where if I want field A
rewound before field B, I have to change seque
You can still do HttpServletResponse.setStatus(int code, String message);
It's deprecated so there may be a better way but who knows..It
wouldn't make sense if they didn't let you do it.
On 4/3/07, Hans Drexler <[EMAIL PROTECTED]> wrote:
On Tue, 03 Apr 2007 14:11:03 +0100, Richard Kirby wrote
>
My problem with session-per-conversation is that its totally
incompatible with clustering, since the objects in the detached
session are not propogated to other servers.
That being said; yes some kind of mechanism (as service, an ASO) to
hold onto the sessions between requests, to support detach
Has anyone implemented session-per-conversation (my preferred way to
handle optimistic locking) in T5? Right now, tapestry-hibernate
implements session-per-request.
I'm thinking an application state object is a good place to start here
with methods like startConversation() and endConversation()
Also, 2 very useful implementations of a KeyProvider and a
TreeContentProvider where added in tacos-4.1
http://fisheye3.cenqua.com/browse/tacos/tacos-4.1/trunk/tacos-core/src/java/net/sf/tacos/model/impl/BeanPropertyKeyProvider.java?r=469
http://fisheye3.cenqua.com/browse/tacos/tacos-4.1/trunk/t
Resolved as not valid. :)
Just so everyone else is clear, elements && component event listeners
work equally well in components as they do pages.
On 4/3/07, Borut Bolčina <[EMAIL PROTECTED]> wrote:
Filed under
https://issues.apache.org/jira/browse/TAPESTRY-1398
Jesse Kuhnert wrote:
> Ah .
On 4/3/07, Andy Zimmerman <[EMAIL PROTECTED]> wrote:
Any suggestions on the "correct" way to resolve this problem?
Please have a look at ML archives. That annotations are gone since
T5-ioc has lost namespace capablities they are no more needed, now use
the correct naming convention.
--
Massim
While trying to follow along through the Tap 5 tutorial (I realize it isn't
finished), I ran into a problem. The create archetype made an AppModule
class that has a couple of imports that do not resolve. Specifically:
import org.apache.tapestry.ioc.annotations.Contribute;
import org.apache.tape
I've run into this problem on some heavyweight pages using Tap 4.0 and
Tacos 4.0. I basically had to modify all my pages so that models are
initialized only on access. If I need a model to reinitialize after
the rewind cycle, I set it back to null during a listener method. In
Tap4.0 + tacos, ev
Have a look at this blog
http://andyhot.di.uoa.gr/blojsom/blog/default/java/2006/08/17/Tapestry-Building-Trees-with-Tacos-and-Annotations.html
It sure helped me.
Cheers,
Borut
Wojtek Ciesielski wrote:
Hi all,
I am trying to figure out some elegant way to use Tapestry to build
dynamic ajax-ba
Filed under
https://issues.apache.org/jira/browse/TAPESTRY-1398
Jesse Kuhnert wrote:
Ah .It could be that element event listeners don't work in
components, but component event listeners will work.
Did anyone file a bug for that?
On 4/3/07, Borut Bolčina <[EMAIL PROTECTED]> wrote:
Hello,
I think you still have to use a @Body even without the @Shell but you
can use the @ScriptIncludes instead of the shell - which ~only~
includes js on the page:
http://tapestry.apache.org/tapestry4.1/components/general/scriptincludes.html
On 4/3/07, Chris Chiappone <[EMAIL PROTECTED]> wrote:
I am
I think you want:
http://opencomponentry.com:8080/tacos/ajax/TreeExample.html
On 4/3/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote:
--
Jesse Kuhnert
Tapestry/Dojo team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponent
Hi all,
I am trying to figure out some elegant way to use Tapestry to build
dynamic ajax-based tree-like UI widget. In general it's about showing
some hierarchical data:
* Some data item
* some sub property
* some sub property
* last level of props
* some sub property
Each leve
This should do the trick
@InjectObject("engine-service:page")
public abstract IEngineService getPageService();
Ben
-Original Message-
From: Wojtek Ciesielski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 11:18 AM
To: Tapestry users
Subject: T4.1.1: injecting service into page/
I'm currently innundated ... working full time for a T4 customer, and
putting together a bunch of presentations for NFJS, OSCON and JavaOne.
Try checking around the T5 integration tests, I think there's a
useful example there.
On 4/3/07, Graham Ford <[EMAIL PROTECTED]> wrote:
Thanks Howard.
Is
I am wondering if the @Shell and @Body components are required in
order to get the ajax function to work with tapestry pages. I already
have a header and footer defined using jsp's in a legacy application.
I am beginning to introduce Tapestry pages as we are moving forward.
Is there a way of man
Hi there - I need to obtain PageService within a method of my
page/component (to get textual link to the injected page). How can I do
this?
@InjectObject("service:tapestry.services.Page")
public abstract PageService getPageService();
is not working...
Thanks in advance,
Wojtek
I do remember being annoyed by this lately, if you file a jira issue
for it I'll fix it quickly.
On 4/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
We are trying to move a little library of ours to Java-5 with full usage
of annotations, without jwc-files. While a component itself is
recogni
We are trying to move a little library of ours to Java-5 with full usage
of annotations, without jwc-files. While a component itself is
recognised this way. Asset-resolution relative to the (non-existing)
specification doesn't work.
Did I overlook anything? Or would that be an improvement-issue in
Thanks Jesse.
- Original Message
From: Jesse Kuhnert <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Tuesday, 3 April, 2007 2:34:52 PM
Subject: Re: Tapestry 4.1.2
Maybe another week or two. It is entirely dependent on seeing the ognl
features stabilize.
On 4/3/07, Gareth <[EMAIL PROTECTED
You can call IRequestCycle.getResponseBuilder().isDynamic() to see if
it's a dynamic request and skip any heavy operations you don't need to
perform.
On 4/3/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote:
Jesse Kuhnert wrote:
> I don't think "onClick" will be a valid js event name to listen to.
Jesse Kuhnert wrote:
I don't think "onClick" will be a valid js event name to listen to. In
this instance it has to be "onclick" .
Thanks, it could be a reason (I was changing several things at once
trying to fix it so I'm only 90% sure that that's it ;-)).
And I've noticed that even when @E
On Tue, 03 Apr 2007 14:11:03 +0100, Richard Kirby wrote
> Hi Hans,
>
> The status line is output by the servlet engine - not Tapestry,
> since it is a core part of the HTTP spec.
>
> What you may be able to do, is create a javax.servlet.Filter which
> reads the response from Tapestry into a str
Maybe another week or two. It is entirely dependent on seeing the ognl
features stabilize.
On 4/3/07, Gareth <[EMAIL PROTECTED]> wrote:
Hi All,
Is there a likely approximate release date for tapestry 4.1.2 yet?
If so, could you please share it, I couldn't find it on the website anywhere.
Than
Ah .It could be that element event listeners don't work in
components, but component event listeners will work.
Did anyone file a bug for that?
On 4/3/07, Borut Bolčina <[EMAIL PROTECTED]> wrote:
Hello,
event listeners aren't called in components, only in pages. I had the
same problem and
Hi All,
Is there a likely approximate release date for tapestry 4.1.2 yet?
If so, could you please share it, I couldn't find it on the website anywhere.
Thanks
Gareth
___
What kind of emailer are you? Find out today - g
Thanks for the reply Jesse.
P.S. Any progress on http://jira.opensymphony.com/browse/OGNL-16 which
is closed, but I still have problems?
On 3.4.2007 14:27, Jesse Kuhnert wrote:
I use it to develop / use 4.1 - so I guess it has pretty
good support there. I don't know if it has any specific 4.1
Hello,
event listeners aren't called in components, only in pages. I had the
same problem and then moved the listener to enclosing page. See
"@EventListener in Border" post.
-Borut
On 3.4.2007 13:55, Wojtek Ciesielski wrote:
Hi all,
I cant get dojo EventListener to work.
The same happen
Hi Hans,
The status line is output by the servlet engine - not Tapestry, since it
is a core part of the HTTP spec.
What you may be able to do, is create a javax.servlet.Filter which reads
the response from Tapestry into a stream, hopefully including the status
line - and then just re-output
I don't think "onClick" will be a valid js event name to listen to. In
this instance it has to be "onclick" .
On 4/3/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote:
I've made it ultra-simple...:
SimplePage.java: ===
public abstract class SimplePage extends BasePage {
private static
Thanks Howard.
Is there any chance anyone could give a bit more info on this. I have
got the BeanModel and tried to add the fields of the child object to it,
but I am always getting an error. I am probably doing something dumb,
but if anyone could show me the way, I would be grateful.
Graham
I've made it ultra-simple...:
SimplePage.java: ===
public abstract class SimplePage extends BasePage {
private static final Logger log = Logger.getLogger(SimplePage.class);
@EventListener(elements = "someId", events="onClick", async=true)
public void testEvent() {
log.info("Cau
Yeah you should see something along the lines of :
dojo.event.connect(dojo.byId("someId"), ... .
towards the bottom of your page.
You might also try using Tapestry 4.1.2 instead of 4.1.1. They should
both work equally well but I can't remember if 4.1.1 had any issues in
this area or not.
O
Jesse Kuhnert wrote:
Offhand I'd say the PageEvent object looks suspicious. It supports a
BrowserEvent object but might just pass your method by if it sees a
parameter it doesn't know about.
What effects in the rendered page source should such annotation cause?
Currently I'm not seeing anythi
Jesse Kuhnert wrote:
Offhand I'd say the PageEvent object looks suspicious. It supports a
BrowserEvent object but might just pass your method by if it sees a
parameter it doesn't know about.
My experiments with a method with no arguments are also failing...
@EventListener(elements = "someId",
Offhand I'd say the PageEvent object looks suspicious. It supports a
BrowserEvent object but might just pass your method by if it sees a
parameter it doesn't know about.
On 4/3/07, Wojtek Ciesielski <[EMAIL PROTECTED]> wrote:
Hi all,
>> I cant get dojo EventListener to work.
The same happens w
I use it to develop / use 4.1 - so I guess it has pretty good support there.
I don't know if it has any specific 4.1 feature support though. (nor could I
think of any specific feature in 4.1 that it would need to handle in an ide
)
On 4/3/07, Borut Bolčina <[EMAIL PROTECTED]> wrote:
Any plans
Hi all,
I cant get dojo EventListener to work.
The same happens with me :( Are there any preparatory steps to perform
to use EventListener? I have a template :
MyTemplate:
click here...
...
Within MyTemplate.java:
public abstract class MyTemplate extends BaseComponent {
Any plans for 4.1.x support?
Cheers,
Borut
On 2.4.2007 13:34, Alexei Orishchenko wrote:
HandyTapestry 1.0 released
If you develop a http://tapestry.apache.org/ Tapestry web application
using http://www.jetbrains.com/idea IntelliJ Idea
then try http://handyedit.com/handytapestry.html
Dmitriy Vsekhvalnov wrote:
>
> Is it commercial one?
> Or will go to commerce in future?
>
The HandyTapestry is shareware. You http://handyedit.com/eval.html try it
(45-day evaluation license). After trial period you
http://handyedit.com/order.html buy the license or remove the plugin from
We try to create a Tapestry-service that generates a Shoutcast stream. The
problem is that the shoutcast response must have a status line that reads:
ICY 200 OK
Instead, the status line we get is always:
HTTP/1.1 200 OK
Many mediaplayers (WinAmp, Xmms, iTunes) accept the header with HTTP status
You can look here:
http://tapestry.apache.org/tapestry4.1/faq.html#submit-lifecycle
on form submit pageBeginRender is called before the form submit listener
discarding output in order to set page and page components in the proper
status before your listener is called.
As your next question might
Hi, I'm quiet new of tapestry.
I have a problem in calling a page.
My form in MyPage.html is
In MyPage.java I have a method submitMainForm(IRequestCycle cycle) and the
pageBeginRender method.
When I press submit button, I see that is called:
pageBeginRender method,
submitMainForm
pa
50 matches
Mail list logo