guys,
i have been playing with the krysalis menu, and i have run into this
problem. my site is using frames, and the drop down menu does not
display over the next frame if its long enough, it gets chopped off at
the end of the frame. has anybody else encountered this problem and am
i doing
you are absolutely wright. thanks a lot :)
my mistake was (not domain absolute oath):
link rel=stylesheet type=text/css href=cssfiles/style1.css
when correct is
link rel=stylesheet type=text/css href=/cssfiles/style1.css
--
View this message in context:
i need to have global hivemind service (the only for all threads (and all
users))
im not shure that treaded model is what i need
more dataily: data generated by this service (sitemap for example, stored in
some collection) should be accessible by all working threads (and not
recalculating for
if you declare a service as model=threaded a new instance
will be created for every request of a new thread. so every thread
has its individual instance. i think model=singleton (default model)
is what you are looking for.
you could also define a application state object with application scope:
i really dont know how to invoke application state object into hivemind
service.
and about singleton model.. i think it creates instance of service on first
reference and this instance is also individual for each user.. may be im
wrong
in general i need somthing like global application state
Hi,
I'm using the contrib:Tree component on Tapestry 4 and all seems to work
fine, until the tree is getting too large. It looks like the tree is
serialized on the request and the request is getting to large to keep
working correctly.
Is there any workaround for this?
Rudie Ekkelenkamp.
If you allow me James, although HiveMind does not provide a session-scoped
or user-scoped service model, you can find external implementations out
there...
Where? Check HiveMind Utilities hivelock module for example. I know there
are other existing code for this as well.
Cheers
Jean-Francois
Yes, of course. You can implement your own service models however you want.
You could store an implementation object in a database if you really wanted
to. I meant that Tapestry doesn't (out of the box) have support for that
feature. You have to be careful, though. Using session-scoped
I'm trying to figure out how to integrate quartz with my tapestry app based
on Marcus' explanation but I'm missing some key points.
Could anyone post some code showing how to implement this?
--
View this message in context:
http://www.nabble.com/Scheduling-tasks-tf1963494.html#a5504499
Sent
Hi all
I am trying to make my ASO available to an @If component on my templates,
but I can't get past the following error:
Unable to read OGNL expression 'parsed OGNL expression' of
[EMAIL PROTECTED]: pt.te.universal.model.User.isActive.
The ASO is being properly instanciated and I can access
Please try :
ognl:!user.active
Shing
--- Rui Pacheco [EMAIL PROTECTED] wrote:
Hi all
I am trying to make my ASO available to an @If
component on my templates,
but I can't get past the following error:
Unable to read OGNL expression 'parsed OGNL
expression' of
[EMAIL PROTECTED]:
[EMAIL PROTECTED]: pt.te.universal.model.User.isActive.
Isn't that a string being returned? Can you do ! with a string here?
isActive should be boolean.
Adam
On 26/07/06, Rui Pacheco [EMAIL PROTECTED] wrote:
No luck.
Has anyone done this before?
On 7/26/06, Shing Hing Man [EMAIL PROTECTED]
If it is a boolean, try:
!user.isActive()
or if that doesn't work
user.isActive() == false
On Wednesday 26 July 2006 12:36, adasal wrote:
[EMAIL PROTECTED]: pt.te.universal.model.User.isActive.
Isn't that a string being returned? Can you do ! with a string here?
isActive should be boolean.
I believe the java beans syntax for accessing a method that looked like:
User-
public boolean isActive();
Would be ognl:user.active.
You can always force ognl to call your method via explicit functions calls
as well:
ognl:user.isActive()
On 7/26/06, adasal [EMAIL PROTECTED] wrote:
[EMAIL
I'm using Tapestry 4 and Hibernate (also using Tacos but not sure if that's
applicable for this problem).
I have a form that submits criteria whose results will display on the same
page in a table below the form. The results is a collection of objects
(Person Objects) and this objects can also
My bad:
There is another error beneath this one, I just hadn't noticed it:
Cannot create a session after the response has been committed
And the stack trace includes this:
Stack Trace:
org.apache.catalina.connector.Request.doGetSession(Request.java:2214)
I'm using Tapestry 4 and Hibernate 3 (also using Tacos but not sure if
that's applicable for this problem).
I have a form that submits criteria whose results will display on the same
page in a table below the form. The results is a collection of objects
(Person Objects) and this objects can also
On my Tomcat logs I have something else:
Jul 26, 2006 6:51:17 PM org.apache.tapestry.web.ServletWebResponse reset
SEVERE: Unable to reset response buffer: java.lang.IllegalStateException
java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java
On 7/25/06, Malin Ljungh [EMAIL PROTECTED] wrote:
Hi all,
I've been using Tapestry for weeks and today I for the first time did
a View page source
in my browser... and I was a little surprised. In one of my pages I'm
looping
a Set using a For component to display some entities in a table. The
Thanks for the feedback. I've never had to configure hivemind stuff. Is
there a good link on information about where to setup the contributions and
configurations?
Thanks,
Kevin
On 7/26/06, Henri Dupre [EMAIL PROTECTED] wrote:
On 7/26/06, Kevin Fightmaster [EMAIL PROTECTED] wrote:
I have a
I have tried out the suggestion in the post
(*)
http://article.gmane.org/gmane.comp.java.tapestry.user/38761/match=required+validator
to implement client side 'required' validation on a
Checkbox compponent (in Tapestry 4.0.2).
In (*), a validator with a custom javascript to
validate a required
On 7/26/06, Kevin Fightmaster [EMAIL PROTECTED] wrote:
Thanks for the feedback. I've never had to configure hivemind stuff. Is
there a good link on information about where to setup the contributions
and
configurations?
I believe there is a tapernate example application... I would start with
Hello,
I just ran into a problem related to this thread. I have a class with 30 unit
tests which tests a HiveMind service used by my Tapestry pages. About midway
through execution I get a : java.lang.OutOfMemoryError: Java heap space.
I guess I am doing something wrong. I know just enough
Ouch, nice catch! I've applied the changes and will deploy in next tapestry
4.1 snapshot release later today.
On 7/26/06, Shing Hing Man [EMAIL PROTECTED] wrote:
I have tried out the suggestion in the post
(*)
Any chance of doing to Tapestry 4.0.2 as well ?
Shing
--- Jesse Kuhnert [EMAIL PROTECTED] wrote:
Ouch, nice catch! I've applied the changes and will
deploy in next tapestry
4.1 snapshot release later today.
On 7/26/06, Shing Hing Man [EMAIL PROTECTED] wrote:
I have tried out the
Thank you! That was really simple - and it works :)
One golden star to you, Jesse.
Malin
On 7/26/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:
Use the keyProvider parameter. It will do wonders for your client
persisted form properties :)
On 7/25/06, Malin Ljungh [EMAIL PROTECTED] wrote:
Hi
Henri,
Thanks for your reply. Actually I had some lazy binding session exceptions
but they disappered when I applied the keyExpression attribute according to
Jesse's tip!
I've looked several times at Tapernate but each time I've desided it's too
much work to get on track. And my small app is
MaybeRealistically, it's probably not going to happen anytime soon as
tapestry 4.0.X is such a pain in the ass to deploy.
The 4.1 snapshot build with the change is deploying via maven as I write
this email.
On 7/26/06, Shing Hing Man [EMAIL PROTECTED] wrote:
Any chance of doing to
Hmmm. I checked the 4.08 code the Persist annotation explicitly checks for the
InitialValue annot. and seems to apply it.
Writing the session persistence by hand turned out to be easy.
Then I remembered: in Portlet world the default session scope is the portlet
instance, so the ASO won't be
Hello!
I'm still trying to get around the @EventListener.
In the working TimeTracker application (part of tapestry example
applications) i added the following snipets of code :
In Home.html , in the form (taskForm) :
divspan jwcid=samplefield/span/div
In Home.html , outside the form :
div
I found what was going on and I'm replying to this in case someone else
stumbles upon this error in the future:
Although the ASO was being created, I wasn't passing it to the template. As
soon as I called getUser() from my component, everything worked like a
charm.
--
View this message in
Hi all
I am using Tapestry 4.0.2
In the documentation on the 'Upload' component it mentions a default upload
size of
10,000,000 (10 million) and in brackets 10kb. I'm not sure how that works.
Which is
correct?
Assuming all my worst nightmares are coming true and that the limit is 10kb
The error referenced in that ticket was a documentation error, it has since
been fixed here
http://tapestry.apache.org/tapestry4.1/components/Upload.html .
The 10kb vs 10 (mil?) sounds pretty annoying. I think 10kb is the default
limit. The maxSize parameter is taken in units of byte, so maybe
I meant to say change events to events=onfocus. (trying different case
versions sometimes works for some reason...)
On 7/26/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:
Right away I'd question whether or not samplefield really exists as an
element on the page I'm referencing.
Do a view-source
Hello ?
From: Blackwings [EMAIL PROTECTED]
Reply-To: Tapestry users users@tapestry.apache.org
To: Tapestry users users@tapestry.apache.org
Subject: Re: Administrator of this forum ?
Date: Tue, 18 Jul 2006 15:08:06 +0200
It is an automatic process normally. You just have to send an email to
I will be adding a special section on this to the main web site. (at least
covering what debugging options tapestry/dojo give you, and then what I use
myself after those methods fail)
Your form functions have finally been documented though,
Hi Jesse
Thanks for this info.
Do you think 10kb is a useful default? This seems very small minded - what can
you upload
with 10kb
Why not make the default limit 10mb? We can at least make it sound as though
Tapestry is
an industrial strength product ! (Ohhh, wonder if this will
It's the default value used by commons-fileupload from jakarta, which this
functionality is based on. You may want to ask them about it.
On 7/26/06, Murray Collingwood [EMAIL PROTECTED] wrote:
Hi Jesse
Thanks for this info.
Do you think 10kb is a useful default? This seems very small minded
When I delete the focus binding,tapestry can produce some script.But When I
submit the form,tapestry can't show the script message.
component type=Form id=AForm
binding value=ognl:beans.delegate name=delegate/
binding value=ognl:true name=clientValidationEnabled/
binding
P.S. Depending on which javascript function you feel like taking a peak at,
you can pretty much take any function listed here:
http://tapestry.apache.org/tapestry4.1/javascript/form-validation.html
And figure out what is getting passed to it with a statement like so:
40 matches
Mail list logo