works like a charm
thanks!
Karthik
On 1/4/07, Jeff Lubetkin <[EMAIL PROTECTED]> wrote:
This is because ApplicationStateManager requires that the WebRequest in
RequestGlobals is set, but it doesn't normally get set until the
terminator of the filter chain.
In order to get around this, I usuall
Thanks, but finishLoad() is also invoked regardless of whether the
component is used or not. :(
Martin
On Fri, 05 Jan 2007 03:53:44 +0100, Daniel Tabuenca <[EMAIL PROTECTED]>
wrote:
I haven't done this but just from looking at the IComponent interface
you could probably just override the
Hi,
Unfortunately, I am no expert in Hivemind. Would anyone from the Hivemind's
contributor be willing to champion this project ?
On 1/4/07, Eugene Kuleshov <[EMAIL PROTECTED]> wrote:
Hi,
I am one of the developers of Terracotta for Spring and will be glad
to help anyone who want to work on
I haven't done this but just from looking at the IComponent interface
you could probably just override the finishLoad() method. Simply do
your initialization and then call super.finishLoad().
On 1/4/07, Martin Strand <[EMAIL PROTECTED]> wrote:
Hi guys.
I want to initialize some stuff before a ce
This sounds related to another issue I had fixed regarding cookies.
That issue was related to Tapestry not always flushing the IO stream
out soon enough for any written cookies to actually make it back out
to the client. I know I remember hearing other people discuss this in
the past so I didn't h
Hi guys.
I want to initialize some stuff before a certain component renders, but
there's no ComponentBeginRenderListener.
What alternatives do I have? I don't want to use pageBeginRender, because
that gets invoked regardless of whether the component is used on the page
or not (perhaps it's i
Hi,
I have implemented a small application using the new possibilites of
T4.1.1 (EventListener / ResponseBuilder) but when i made some tests from
2 differents computers, the properties of my session N°2 are impacted by
the modifications made on the session N°1 using EventListener and vice
ver
Hi,
I have a button with an EventListener bound to onclick() like below. It
works well. Now the weird thing is if I activate any other page in the web
app, all javascript related events/actions won't work anymore. In the parsed
html file I found that Tapestry duplicate
dojo.Connect(dojo.byId("R
Hi all,
I'd like to override the default client-side validation behavior in T41 to
be more like the implementation in Tacos (or the validation examples in the
Dojo toolkit). The client side dojo Dialog widget that pops up isn't a good
default in certain situations. For instance, we are using a
I know I have one potential client, The Name Withheld Corporation, that's
interested in Tapestry but needs the URLs to be case-insensitive.
Back in the Tapestry 2.x days, this wouldn't be so difficult. You started
with the application specification, which matched each possible page name to
a spe
Well, it should generally work, though
datepicker = dojo.widget.byId('');
is safer.
Take a look at the generated html to see what exactly is happening.
[EMAIL PROTECTED] wrote:
> If I have a Datepicker,
>
>
>
> Does that mean the name of it is startDate? Or am I missing something el
Do you have to use direct links?
They expose too much of the inner workings of tapestry - that's why
they're not got for bookmarks as well...
Anyway, can you code around this using ExternalLinks ?
RonPiterman wrote:
> I have a nice usability problem with direct links nested inside
> components:
Sorry, but now I am testing and I get the correct situation the first time I
execute the ajax, but when I try to execute it again, I get the described
exception.
On 1/4/07, Roberto Ramírez Vique <[EMAIL PROTECTED]> wrote:
Hello everybody!
I am playing with tapestry 4.1.2 and the @EventListener
Hello everybody!
I am playing with tapestry 4.1.2 and the @EventListener annotation. I am
using tomcat 5.5 and jdk 5.
I have a form, after submit this form using ajax I build a list in the
server side, then I want to show this list in a For component to show all
the found information. But I can'
Hi,
I could solve the problem...
- onBeforeUnload /onUnload is not good if we need to navigate within the
pages of the newly opened window. If you navigate from Page A -> B in the
same window, it causes to fire the unload event.
So I open the new window in an IFRAME and do the logic onUnload o
Hi,
I'm having some difficulty using tapestry-acegi. I can secure a page
fine, but I can't figure out how to allow a user to auth.
Unfortunately, my experience with Acegi in general is practically
non-existent, so I may just be doing something dumb there.
I have a page marked @Secured("ROLE_USER"
Stefan-
We actually had two issues. The first issue is that we had overridden
the EngineServiceLink (to include a check for https port 443) in a prior
release. Our version did not have the _stateful parameter. Once this
parameter was added I was able to remove our AjaxShellDelegate override
and th
This is because ApplicationStateManager requires that the WebRequest in
RequestGlobals is set, but it doesn't normally get set until the
terminator of the filter chain.
In order to get around this, I usually inject the RequestGlobals service
into my filter and add these lines at the beginning of t
I have used the following piece of code to retrieved
an
application ASO in a
HttpSessionListener.sessionCreated method.
It might work in ServletContextListener as well.
// context is the servlet context
Registry registry = (Registry) context
.getAttribute(ApplicationServ
Crap.. I forgot about that dependency on the web request. That never
made sense to me for the case of application-scope ASOs.
In any case, here is a wild idea. If you can capture and hold onto the
Hivemind-created instance of the ASO, you could then give out access to
it through a static getter, s
If I have a Datepicker,
Does that mean the name of it is startDate? Or am I missing something else? I'm
getting errors trying to do :
datepicker = dojo.widget.byId('startDate');
It's staying undefined.
Thanks,
Greg
-
Hi,
how about using an InjectState annotation:
@InjectState("MyApplicationObject")
public abstract MyApplicationObject getMyApplicationObject();
Maybe this works.
Regards
Mahmut
Tapestry User List schrieb:
It doesn't work.
Registry registry =
(Registry)context.getAttribute("org.apache.
It doesn't work.
Registry registry =
(Registry)context.getAttribute("org.apache.tapestry.Registry:app");
returns null.
D.
2007/1/4, James Carman <[EMAIL PROTECTED]>:
I don't think that'll work. The ApplicationStateManager needs a
reference to the current web request (eventually the session).
I don't think that'll work. The ApplicationStateManager needs a
reference to the current web request (eventually the session).
On 1/4/07, Ben Dotte <[EMAIL PROTECTED]> wrote:
Hi,
You could do something like this:
((ApplicationStateManager) ((Registry)
context.getAttribute("org.apache.tapestr
Hi,
You could do something like this:
((ApplicationStateManager) ((Registry)
context.getAttribute("org.apache.tapestry.Registry:app")).getService(App
licationStateManager.class)).get("myStateObject");
Where "myStateObject" is the name of your ASO.
HTH
Ben
-Original Message-
From: Tape
Hi,
Happy new year
I have created a class that implements ServletContextListener.
In the method public void contextDestroyed(ServletContextEvent event),
I need to retrieve an Application State Object (ASO) of tapestry 4
with an application scope (not session).
My question is how to retriev
I have a nice usability problem with direct links nested inside components:
I have a pager component, which takes an in-out "page" parameter.
The pager component generates direct links, which invoke a listener in
the component with the page number as parameter.
The listener calls the set meth
Oh, of course. *wince* Thanks. :-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: January 4, 2007 3:55 AM
To: users@tapestry.apache.org
Subject: RE: Tapestry 4.0 and Expires header on images
I think context-Assets are not served by the tapestry servlet at a
ok...seems to happen somewhere earlier...also no tables are created:
15:01:30.390 INFO [SocketListener0-1]
org.hibernate.cfg.annotations.Version.(Version.java:15) >89> Hibernate
Annotations 3.2.0.CR1
15:01:30.406 INFO [SocketListener0-1]
org.hibernate.cfg.Environment.(Environment.java:499)
Actually, Marcus, you can use the text value of an XML element in your
schema. You use the push-content rule.
On 1/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Thanksgetting closer!
Now I only have to solve the id generator problem.
Error building service honeycomb.hibernate.Hibern
...about the Generation Type.
inside TemplateEntity I have tried:
@Id @GeneratedValue(strategy=GenerationType.AUTO)
public long getId(){
return id;
}
all possible valuesbut all produce the same error.
Original-Nachricht
Datum: Thu, 4 Jan 2
Thanksgetting closer!
Now I only have to solve the id generator problem.
Error building service honeycomb.hibernate.HibernateSessionFactory: Error at
jar:file:/C:/home/me/.m2/repository/com/javaforge/honeycomb/HoneycombHibernate/0.3.3/HoneycombHibernate-0.3.3.jar!/META-INF/hivemodule.xml,
l
Thanks Marcus.
This is what exactly i want.Now i am using the validation delegate to record
these kinds of exceptions,by setting the formComponent to null.
>From where can i find more details about the below specified approach?
Schulte Marcus wrote:
>
> the second is a Message-property of th
I'm having the same problems with the snapshots..
Did you find the problem?
thx
stefan
Anna Vo wrote:
>
> A little while ago I had posted this error, which occurs the first time
> our site is loaded:
>
> Could not load 'dojo.logging.Logger'; last tried '__package__.js'
> dojo.js;jsessioni...
It's perfectly Ok, to record your own cross-field validation errors in
the delegate. At least as long as you can associate the error sensibly
with a particular (set of) field (s).
I use an error display component in my @Border, which actually checks
two different sources for errors. The first is
I think context-Assets are not served by the tapestry servlet at all,
but by your containers default file-servlet. You may be able to
configure this or maybe not. For Tomcat, at least, it's not so easy, if
I remember correctly.
> -Original Message-
> From: Michael Prescott [mailto:[EMAIL P
Oh, now I see it:
Instead of
org.hibernate.dialect.MySQLDialect
you need to write
since in HiveMind descriptors text-elements are alway treated as
comments,
contrary to the syntax in hibernate.cfg.xml
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Se
37 matches
Mail list logo