Hello
I have a problem with migration to TAP 4.1.2
previously I'm use some increment operation in template
(tst="ognl:count=count+1")
and calculate total display rows
after migration all works, but occur exception:
org.apache.hivemind.ApplicationRun
1.properties file does not support UTF8.
2.Sort BeanForms can not be changed.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It works for me if I set href to some value,
href="#", say.
Shing
--- "Kolesnikov, Alexander GNI"
<[EMAIL PROTECTED]> wrote:
> I was trying to use PageLink in an "invisible" way,
> in T4 spirit:
>
> t:page="Another">refresh
>
> However, this didn't work, and the reaction of the
>
Hi,
The Any component is gone and now
...
is now just:
...
but is it possible since it's gone to add a mixin to and element like
My layout
When I try this case tapestry throw me this error :
You may not specify mixins for element because it does not
represent a component (which requires e
Why wouldn't you want that ?
is it mixins what you realy need,
this is getting too abstract, could you
give a more precise example of what is it you are trying to acheive ?
Davor Hrg
On 7/13/07, Dan Adams <[EMAIL PROTECTED]> wrote:
Hmm. I didn't know that instance mixins behaved that way. Wha
Hi,
I am currently working on Ted's DatePicker component. It uses
a Translator for parsing the entered String and convert it into
a Date object. The Translator is registered like this:
| public static void contributeTranslatorSource(MappedConfiguration configuration) {
| configuration.add("j
I'm implementing a ValidationDecorator that decorates required fields
with a "*". In T4 you could do isRequired() or something on the field
but in T5 how do you tell if a field is required?
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
--
Hmm. I didn't know that instance mixins behaved that way. What about if
you want to apply a mixin to yourself and you also want to specify the
parameters for it? I don't want the parameters for the mixin becoming
part of my component parameters.
On Fri, 2007-07-13 at 19:39 +0200, Davor Hrg wrote:
Part of the solution here is a custom Dispatcher, contributed to the
MasterDispatcher service configuration.
A Dispatcher is provided with the Request and Response, and can decide
how and if to response, much like a servlet.
The different Dispatchers form a chain-of-command. You can "schedule"
dan,
behavior is ok, please take look at the tapestry wiki and docs a bit:
http://wiki.apache.org/tapestry/Tapestry5HowTos
I've put a page describing this problem because it also happend to me
first time I created a component.
http://wiki.apache.org/tapestry/Tapestry5HowToNotMakeCustomComponent
Dan, you are missunderstanding the implementation.
To be more precise,
no matter how the mixin is applied, parameters are suuplied to the
component, not the mixin.
When you add a mixin to a component it is enhanced by it,
if a mixin has a parameter, component gets the parameter as if you
handcod
I don't have an issue with Hibernate, I just want to use it before
Tapestry initializes (since it initializes when first accessed, not
on container start up despite load-on-startup, at least with Tomcat.)
So, yes, I could initialize HiveMind myself and pass it to Tapestry,
if I could find o
I think the behavior is correct and the documentation may be wrong.
If you don't have a body to render, I don't see when or why Tapestry
should fire the before/after render body phase events.
On 7/13/07, Dan Adams <[EMAIL PROTECTED]> wrote:
I have a component with a template and a beforeRenderBo
Ok, I think I misunderstood the purpose of UpdateComponent(), which I
will refer to as 'UC'. What I wanted is when my listener gets called by
DirectLink, UC would update only the component it specifies, not
re-render the entire page. Apparently, UC adds the component specified
to the list of
I found a way to do it by implementing a PageRenderRequestFilter. However
this is a bit tricky, since it requires a "User" page defined for it to work
(even if it is not used by the app), because this filter is only called if
_componentClassResolver.isPageName(pageName) is successful (cf
PageRende
I suppose that what I'm expecting is not the way it should work.
Can I do anything to see what's the reason for this?
Any help appreciated,
thx,
Martin
On Thu, 2007-07-12 at 09:43 +0200, Martin Grotzke wrote:
> On Thu, 2007-07-12 at 08:45 +0200, Kristian Marinkovic wrote:
> >
> > hi martin,
>
I have a component with a template and a beforeRenderBody() method. I've
two uses of it in a test page: one with some content between the start
and end tags and one without. For the first instance, beforeRenderBody()
gets called and for the second it doesn't. Is the the correct behavior?
The docume
There seems to be some confusion here? (The confusion could also be on
my part)
Davor explains how to supply parameters to @Mixins (and
@MixinClasses)... "Instance Mixins". Which is documented very well.
I think Dan is talking about an "implementation mixin" using the @Mixin
annotation. Th
Hi.
I may have missed the original question a little. I should probably have a
look at the source at this point.
First, is this about Tapestry 5 or an earlier version? I was assuming this was
about T5: if not I don't think anything I've said applies!
I do understand Java's character handling.
I just moved from Tap 4.0.2 to 4.1.2 and replaced any Tacos stuff I was
using with the included Dojo stuff, ie: UpdateComponent() which I will
refer to as 'UC' . UC appears to be doing a great job on the page, but
the page is now scrolling to home position on each update. Using Tacos
updateCo
In t4 you could create some random element in the middle of a bunch of
other components and then render your informal parameters on it. How do
you do the same thing with T5?
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
---
I'm in the same boat. We've got a number of applications and projects
(10+) as well as multiple component libraries built around T4. By moving
to T5 you really are moving to another framework; it's a rewrite, not an
upgrade, and you should just consider it along with the other
frameworks. But after
but lets say you have a component class where the component applies a
mixin to itself:
public class MyComponent {
@Mixin // want this applied to MyComponent
private SomeMixin someMixin;
}
how do you specify parameters for SomeMixin?
On Fri, 2007-07-13 at 14:51 +0200, Davor Hrg wrote:
> pleas
I have been creating a small Tapestry 5 application in order to see how the
framework works and how T5 applications differ from JSP/Servlet
applications.
One thing that I did as part of this project was to create an ObjectProvider
implementation (it is very simple, I admit) which allows one to @I
Hi,
I thought I would put this out here...as a caution, not trying to start any
flames here, just a logical question...
Currently I'm using Tapestry 4.0.2I was curious if anyone else was in
the same position as I, basically I'm looking to upgrade to T5. However,
considering the
Please read the documentation.
On 7/12/07, Evan Rawson - Work <[EMAIL PROTECTED]> wrote:
how can i sort my pages into sub directories within my web-inf directory.
ex:
i would like a structure kinda like
WEB-INF
==components
core
==userName
==userIcon
==galleryLink
==...
==
To begin with, I have worked with many, many clients for whom
scalability is a core concern. All of them use sticky sessions (with
a backup server).
Second, Tapestry is designed to store a pretty minimal amount of
information in the HttpSession, in that it tends to store simple,
immutable object
I asked this same question a while ago and didn't get a response. You
can implement ServiceEncoder and reform the URLs yourself for the
Direct Service. However, I never did figure out how to do this using
the same URL, since the encoders use the URL to determine what actual
service to use.
I was trying to use PageLink in an "invisible" way, in T4 spirit:
refresh
However, this didn't work, and the reaction of the framework was quite
strange (null response?).
This worked properly:
refresh
But hey, this isn't an example of "invisible instrumentation" because
when you preview the te
Hi,
I have been evaluating several Java Web frameworks. Regarding Tapestry
5, I like very much its POJO, non-intrusive programming model.
I am interested in knowing how well Tapestry 5 applications perform on a
clustered environment. Like most Java Web frameworks, Tapestry 5 handles
action r
Thanks Jesse. Your suggestion fixed it. I'd lost sight of the fact
that the "chrome" proxy was experimental and that there's always the
original way of using TestRunner.
Chrome is great because it is non-invasive (ie. you don't have to
alter your web server and/or wars/ears to use it), bu
this is going to be fixed soon.
thanks for pointing out the 5.0.5 incompatibilities!
2007/7/12, Martin Dietze <[EMAIL PROTECTED]>:
Again answering myself...
On Thu, July 12, 2007, Martin Dietze wrote:
> Exception constructing service
> 'ClasspathAssetAliasManager': Error invoking constructor
>
please check the bottom of the page... also read the page again
http://tapestry.apache.org/tapestry5/tapestry-core/guide/mixins.html
@Mixin annotation just say what mixin you are adding,
after that the component is joined with the mixin so
to define a parameter, you can do it in the template or v
Yeah, my mixin has a required parameter but when I use it like this in
my component:
@Mixin
private Confirm confirm;
I have no way of specifying the parameters. It seems like @Mixin needs
to accept a parameters parameter.
On Fri, 2007-07-13 at 07:28 +0200, Davor Hrg wrote:
> I belive you can dec
Tapestry doesn't generate 2 requests all the time,
only for action requests, but even then only for some actions.
You are not forced to store you database objects in the session,
you can store Object id only, you your self will be responsible for scaling
issues, but tapestry will definitely give
Jun Tsai asked for a way to define array/list values directly in the
template.
this is not yet possible, but it seemed as simple task, so I wrote an
example
http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix
Davor Hrg
If T5 already has the ability to persist fields into a form, then how to do
you retain those fields during a redirect? The URL is not long enough to
serialize every hidden field. So you'd be forced to store it in the session,
which breaks the scenario of multiple browser windows in the same sess
Hi,
I have been evaluating several Java Web frameworks. Regarding Tapestry
5, I like very much its POJO, non-intrusive programming model.
I am interested in knowing how well Tapestry 5 applications perform on a
clustered environment. Like most Java Web frameworks, Tapestry 5 handles
action r
I would use an HttpSessionListener configured in your web.xml.
Take a look to
http://www.stardeveloper.com/articles/display.html?article=2001112001&page=1
On 7/13/07, Michael Bernagou <[EMAIL PROTECTED]> wrote:
hi,
I'm looking for catching the "event" onSessionClose. In fact, I would like
to c
hi,
I'm looking for catching the "event" onSessionClose. In fact, I would like
to change the status online to offline of a user whose session is
close/lost.
Any idea? I thought about a timer at the application level able to get the
full list of sessions and make a full update but it seems to me t
I think it's not possible because form submitions are handled by the
different service than "Friendly URLS".
However you can use "Tapestry-flash" and have redirect after post
which is always a good decision anyway.
Renat
On 13/07/07, Mahmut Izci <[EMAIL PROTECTED]> wrote:
Hi all,
friendly URLs
Hi all,
friendly URLs are working well, as long as the page URLs are called
directly.
But how about activating a page after form submit?
If I call "cycle.activate("NextPage"), it results in
"http://localhost:8080/myapp/app"; and not
"http://localhost:8080/myapp/NextPage.html";.
Is there a way
Hi All,
I am new to Tapestry and would like to have a particular mapping for some
pages. For example, I would like that a call to
/user/MyUserName/viewSomething/withThisParameter maps to a page called
ViewSomething, where a user field would be initialized with MyUserName.
Now I can easily achieve
43 matches
Mail list logo