Dan Adams wrote:
> Thanks Bernard. Your template seems really straight forward.
No problem :)
> The problem I having right now is that the block that is rendered is returned
> via an
> ognl expression and the expression is only being evaluated once. Do you
> know a way around this?
I'm not sur
Sorry if I hurt your feelings but probably if you write a "correct"
message then you will get a correct answer.
Your original message is the most pesky one I have ever seen.
Why not just describe your problem?
Have you contacted the administrators before writing that long message?
Why is that Ro
Yes, I've asked, but there is no answer yet...
I've created new issue in jira:
http://issues.apache.org/jira/browse/TAPESTRY-1042
--
View this message in context:
http://www.nabble.com/Why-portlet%27s-header-doesn%27t-display-in-jetspeed--tf1966990.html#a5628032
Sent from the Tapestry - User for
Hello,
I use Autocompleter to display city names.
My problem is the following:
- when the field is left open, at rewinding it results in a primary key
of "" (empty String)
- when I enter an invalid city name into the field, it results in the
same "" primary key
What I want is to inform the us
Jesse Kuhnert wrote:
Those sound like requirements :)
This is good, I hadn't fully attacked/handled widget support yet (hence the
lack of seeing very many), but I'd love to be able to pick your brain about
more specifics of what/how/why you are doing some of the things with your
widgets. (If it'
Hi,
I am about to do a similar thing. The requirement is to create PDF
reports from some sort of template.
Since I use Tapestry (3.0.5) already I figured that template could just
as well be XHTML and let Tapestry do the jwcid stuff for the dynamic
parts. Of course, the resulting XHTML/XML/..
> My goal is not to beat JSF, but to give Java developers a compelling
> reason to stay on Java and not jump over to Ruby on Rails. That's a
> tall order.
I think that's a very strong motivation indeed. I'm glad you are thinking
along those lines.
Having played around with ASP.NET/C# recently I
We have some code in the initialize() method. Per the 4.1 doc initialize()
is deprecated and we've to move the code to pageBeginRender().
however we find that code in the pageBeginRender does **not** get invoked
for direct links, which is correct behavior.
and hence we end up with all sorts of
I don't know about you folks, but the permgen space thing causes me to
reload my app server all the time (the time lost waiting for
startup/shutdown is matched by the time gained by being able to enable
caching, i think), and spring/hivemind initialization takes a fair
while these days.
One of th
As I remember (I used it very rarely) initialize() was called when the
page was put back into the pool.
So isn't PageDetachListener is more appropriate to replace initialize()?
Sorry if I'm wrong :)
Regards,
Norbi
Karthik N wrote:
We have some code in the initialize() method. Per the 4.1 doc
I actually already created an @Eval component that does just that. The
problem is that the expression that returns the block to render to
@RenderBlock is only evaluated the first time.
On Wed, 2006-08-02 at 18:19 -0700, Epstein, Ezra wrote:
> This may not be the issue, but...
>
> You could make a
I believe initialize is called when the page is infact retrieved from the
pool. however pageBeginRender is called only if there's something to
render. since for direct links pageBeginRender is not called, we're in a
mess right now.
On 8/3/06, Norbert Sándor <[EMAIL PROTECTED]> wrote:
As I rem
i've faced a similar problem before try and set cache="false" for your
parameters.
On 8/3/06, Dan Adams <[EMAIL PROTECTED]> wrote:
I actually already created an @Eval component that does just that. The
problem is that the expression that returns the block to render to
@RenderBlock is only evalu
If it is a parameter then disable caching by setting the "cache"
attribute of the parameter to false/no.
Regards,
Norbi
Dan Adams wrote:
I actually already created an @Eval component that does just that. The
problem is that the expression that returns the block to render to
@RenderBlock is onl
For now it appears that moving the code to pageValidate() might just do the
trick. But am a little uncertain about the page lifecycle
Any expert-opinions?
On 8/3/06, Karthik N <[EMAIL PROTECTED]> wrote:
I believe initialize is called when the page is infact retrieved from the
pool. however p
Hi,
I also think it's a problem having to wait for server reloads or
complete restarts. Even though Tapestry provides the reset function for
template changes, it somehow doesn't work in my combination of Apache
and Tomcat with Tomcat connector. And also since I don't want to have
the tomcat m
We are getting the following error sporadically. Can anyone shed any light
on this for us?
org.apache.hivemind.ApplicationRuntimeException: No engine service
named *(arbitrary
string here - usually a bogus email address)*
at org.apache.tapestry.services.impl.ServiceMapImpl.buildProxy(
ServiceM
That would be an awesome tool. I've been thinking about some sort of
utility along those lines, especially since I've been revamping a ton of
templates in the last few days (to use less ognl)... it would probably be
worth my time to create something like this... at the very least some sort
of "dyna
I am using JBoss with Jetty and I just copy my .war over and it redeploys
automatically.
generate-branding-library:
generate-tapestry-holder:
pingfederate-war:
[jar] Building jar:
/home/mstang/projects/ping/devel/HuronPeak/build/pf-war/lib/pingbranded.jar
[war] Building war:
/home
OGNL can be executed directly from java code. So, rather than just calling the
methods, just execute the ognl... That checks the ognl and the methods at the
same time.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 8/3/2006 8:03 AM
To: Tapestry users
Su
In addition to disabling caching, I run my app when developing in jetty
6 in eclipse via maven2. Then I can just do "Terminate and Restart" on
the jetty process and it restarts in about 5 seconds. The thought of
developing on tomcat seems painful to me after working on jetty for
several months. We
i use the technique in Kent Tong's EWDT book. it works just great for me.
i can redeploy without having to restart the server, or having to go to the
tomcat manager console. The first four chapters are a free download, and
describe this approach. It helps me save about 5 minutes on every
deploy
Hi Nick,
Thanks for the link. I found it yesterday while I was hunting for the
link to download the component. By the way, I also found AnySubmit
component, which I think I am going to use it for another problem. I
am going to work on the DSL and will let you know if I stumble on any
prob
Okay, here's a test case. I have this is in the template:
foo
bar
and this in the class:
public abstract int getIndex();
public abstract void setIndex(int i);
public String[] getBlocks() {
return new String[] { "test", "block1" };
Hi,
I am having problems binding a property on my page to a parameter in my
component. The following does not work
I have a CategoryListComponent as follows
On my CategoryList.java I have
public abstract void setStoreLocation(Location storeLocation);
public abstract Location getS
Hi Karthik.
Expert or not, here's something I posted on the dev list recently.
The +++ event was a possibility discussed for T4.1 final, the reason
being that if you initialise in pageValidate, ExternalPages may break.
Page event order:
pageAttached
pageValidate - check user is allowed to acces
[EMAIL PROTECTED] wrote:
... Thoughts?
Stick it in Spindle. ;-)
Cheers,
Nick.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
very interesting problem.
just a wild thought after looking at your configuration - what if you change
"ognl:getBlock()" to "ognl:block" - does that make a difference ??
On 8/3/06, Dan Adams <[EMAIL PROTECTED]> wrote:
Okay, here's a test case. I have this is in the template:
foo
I'm curious where does finishLoad fit into this order?
On 8/3/06, Nick Westgate <[EMAIL PROTECTED]> wrote:
Hi Karthik.
Expert or not, here's something I posted on the dev list recently.
The +++ event was a possibility discussed for T4.1 final, the reason
being that if you initialise in pageVal
Nope, no difference. I also tried changing it to this with no effect:
foo
I know that the informal parameters are not cached so I thought I'd try
it. but then the block parameter for the second @RenderBlock is still
cached so it has the same effect.
I thought that
I also just tried this that also had the same effect:
and a component @RenderTest:
foo
This the thing I don't understand: in this post
http://www.behindthesite.com/blog/C1931765677/E923478269/index.html
he does essentially the same thing. But I don't seem to be able
Yes, it makes sense. My first attempt at this was actually listening for the
"onclick" event on a submit button but it has the same effect.
Now my question is: what would be the solution in this case? (i.e. if I
should log a JIRA issue/bug, what would it contain?) When capturing the
"onsubmit" eve
Brian Doherty wrote:
Hi,
I am having problems binding a property on my page to a parameter in my
component. The following does not work
can you be more specific. "Does not work" is somehow general...
I have a CategoryListComponent as follows
On my CategoryList.java I have
pub
Hi all
I'm trying to pass a List from my class to my template, but I can't seem to
find the proper way to do it.
My list is named inventionList. I defined my @For this way:
()
I defined the List in my component definition this way:
And on my bean, I defined the following method:
public
I discovered something interesting about this: When a parameter (eg
'block') is accessed, it sets _$block$Cached to true. After the
component finishes rendering, cleanupAfterRender() is called in
AbstractComponent which sets _$block$Cached = false and _$block = null.
The thing is, when you render r
BTW, I'm using Tap 4.1
--
View this message in context:
http://www.nabble.com/%40For-component-tf2046280.html#a5634599
Sent from the Tapestry - User forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
I would check your urls: you probably try to access an engine service
which does not exist. either through an url or when generating a link?
check the url which generates this exception, specifically the service=
parameter ( if using roude URLs ).
If you are using fiendly URLs, try to see which
As much as I agree that Wim V was flaming, I also see the complete meaning
of the email. I originally came from a CGI environment where I used RPG on
an iSeries (say AS/400) to do web pages using simple text templates that had
sections and "variable" pieces of data to be replaced at runtime (simil
We have no urls like this. I'm starting to suspect that it's somebody
trying to hack
On 8/3/06, Ron Piterman <[EMAIL PROTECTED]> wrote:
I would check your urls: you probably try to access an engine service
which does not exist. either through an url or when generating a link?
check the url whi
Sorry. What I mean by does not work is that getLocationOfStore() in my
component is null after the component renders.
When I use the updated code below the storeLocation is passed through to
the component and getLocationOfStore() contains the location I passed in
from the page.
It does not like
Do you have an access log? Maybe you can see where these requests are
coming from. It very well could be someone trying to hack your site.
-Original Message-
From: John Menke [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 03, 2006 11:27 AM
To: Tapestry users
Subject: Re: Tapestry /
I will try to see if I can isolate the IP address. Thanks for your advice
On 8/3/06, James Carman <[EMAIL PROTECTED]> wrote:
Do you have an access log? Maybe you can see where these requests are
coming from. It very well could be someone trying to hack your site.
-Original Message-
Has anyone seen this error? We are getting sporadically on our site:
org.apache.hivemind.ApplicationRuntimeException: Unable to decode stream:
Unexpected end of ZLIB input stream
at
org.apache.tapestry.services.impl.LinkFactoryImpl.extractListenerParameters(
LinkFactoryImpl.java:185)
at
$L
It looks like you're using Tomcat, so you can just turn on the access log
valve:
http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html
-Original Message-
From: John Menke [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 03, 2006 11:35 AM
To: Tapestry users
Subject: Re: Tapestry / S
I get it sometimes too.
I believe it is because the war file is tainted while en route between my
workstation and the server. We have a flaky network and unexpected things
tend to happen.
On 8/3/06, John Menke <[EMAIL PROTECTED]> wrote:
Has anyone seen this error? We are getting sporadically
Good day!
I'm developing portlet using Tapestry portlet technology (4.0.2). I've
created page with PropertySelection component. But it displays error "Could
not find a strategy instance for class
net.mycompany.portal.news.newslist.RubricSelectionModel".
How can I run my portlet successfully?
Pl
I don't think that's it. You basically have a bad parameter coming in
that's supposed to be a "squeezed" value. The data squeezer is trying to
unsqueeze it (and it thinks it's zipped up).
-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 03, 2006 11:4
So could this be another issue with somebody spoofing a url?
On 8/3/06, James Carman <[EMAIL PROTECTED]> wrote:
I don't think that's it. You basically have a bad parameter coming in
that's supposed to be a "squeezed" value. The data squeezer is trying to
unsqueeze it (and it thinks it's zippe
Yes, it could. Those squeezed values are very fragile, as you might
imagine. Any one-character change can throw the whole thing off.
-Original Message-
From: John Menke [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 03, 2006 11:50 AM
To: Tapestry users
Subject: Re: Unable to decode st
Still struggling with the problem of recursive @Blocks, I ran into the
following, what seems to be, fundamental problem:
When a parameter (eg 'block') is accessed, it sets _$block$Cached to
true. After the component finishes rendering, cleanupAfterRender() is
called in AbstractComponent which sets
:)
Tapestry uses a pool to store page instances. While rendering it is safe
to use instance variables but you have to make sure they are reset,
preferrably in either pageDetached or pageAttached events.
If you don't reset them, information can be shared between many users of
your site, but not
you probably serialize it in some way (usually by persisting it) but it
is not serializeable.
either make it serializeable or remove the persisting code.
Cheers,
Ron
[EMAIL PROTECTED] wrote:
Good day!
I'm developing portlet using Tapestry portlet technology (4.0.2). I've
created page with Pr
The problem is plain and simple:
This mailing list keeps pumping messages into my inbox while I want it to
stop. I already tried to unsubscribe multiple times but it doesn't seem to
be working.
I'll keep posting the same email once a week or so till I get either removed
or banned, so dont bot
I think we should all reply to him.
-Original Message-
From: Wim V [mailto:[EMAIL PROTECTED]
Sent: Thu 8/3/2006 11:43 AM
To: users@tapestry.apache.org
Subject: Re: RoR
The problem is plain and simple:
This mailing list keeps pumping messages into my inbox while I want it to
stop. I alr
hm... won't work.
Consider:
ognl:visit.user.login
Suppose that you're using tap4 and visit is an abstract method, injected
in. You'll get an exception since the method is abstract. Suppose you use
the abstract instantiator that howard wrote to instaniate the
page/component class. Fine... now you'll
He is not the first person having problem with
unsubscribe functionality.
It is better be fixed.
--- Mark Stang <[EMAIL PROTECTED]> wrote:
>
> I think we should all reply to him.
>
> -Original Message-
> From: Wim V [mailto:[EMAIL PROTECTED]
> Sent: Thu 8/3/2006 11:43 AM
> To: users@t
On 8/3/06, albartell <[EMAIL PROTECTED]> wrote:
In closing, RoR or going back to JSF is looking ever more appealing
because
I didn't have this much complication in JSF and I have yet to hear show
stopping things about RoR. Tapestry's lack of documentation IS A
SHOWSTOPPER!
Check out the new
I have always felt that the only true way to test is live.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 8/3/2006 11:53 AM
To: Tapestry users
Subject: RE: This would be a handy tool
hm... won't work.
Consider:
ognl:visit.user.login
Suppose that you're us
Or we can let him terrorize the list...
-Original Message-
From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED]
Sent: Thu 8/3/2006 12:13 PM
To: Tapestry users
Subject: RE: RoR
He is not the first person having problem with
unsubscribe functionality.
It is better be fixed.
--- Mark Sta
I'm not sure if this is a good, long-term solution but I was able to get
around the limitation of recursing the same block by creating
DynRenderBlock:
public abstract class DynRenderBlock extends RenderBlock {
@Parameter(required=true,cache=false)
public abstract Block getBlock();
}
> I have always felt that the only true way to test is live.
Certainly. :) Such a tool would in no way eliminate the need to live
testing. It would merely (hopefully) cut down on typos. ;)
Consider, for example, my recent set of refactoring I did.
A lot of stuff like:
ognl:visit.user.login
got cut
>
> ...omissis...
>
> Tired of using hibernate?
> Tired of having to config all the time?
> Tired of deploying?
> Need something that comes as a whole package?
> Tired of Java and Tapestry verboseness?
> Tired of this damn mailing list?
>
> Try Ruby On Rails, an MVC
As per my early blog post (
http://howardlewisship.com/blog/2006/03/from-fanciful-ideas-category.html ),
I would like to see object editting be dirt simple in Tapestry 5, using
built in components. I'll be discussing some of this with Chris Nelson this
weekend.
I would like to see Trails5 be an
>Jesse did a great work also this mailing list contains alot of help...
I see everything Jesse and the other committers are doing and I greatly
appreciate it. I know how thankless open source can be (and how little
assistance you actually get) because I have been there. Hopefully my emails
come
I do something like this...
@InjectObject("infrastructure:cookieSource")
public abstract CookieSource getCookieSource();
public void pageBeginRender(PageEvent event) {
IRequestCycle cycle = getRequestCycle();
if (!cycle.isRewinding()) {
String cookieValue =
getCookieSource().readCookieVal
Is there a place to put logic that is called after (post-) validation?
Simply put, there's some logic that I'd like to have invoked before any
listener is called (after validation) but would rather not explicitly call that
logic from each listener method.
Thanks,
Ezra Epstein
-
I can't find when I can serialize or persisting RubricSelectionModel. And
RubricSelectionModel implements Serializable. And Rubric class implements
serializable too.
I doo same code as servlet, but result is still the same :(
What can I doo?
--
View this message in context:
http://www.nabble.c
On 8/3/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
Hi all
I'm trying to pass a List from my class to my template, but I can't seem
to
find the proper way to do it.
My list is named inventionList. I defined my @For this way:
()
I defined the List in my component definition this way:
t
This is from an earlier post on the subject:
@InjectObject("service:tapestry.request.CookieSource")
public abstract CookieSource getCookieSource();
and then:
getCookieSource().readCookieValue(name);
or
getCookieSource().writeCookieValue(name, value);
Also, see the API docs at:
http://tapestr
I was following the example from the Foreach documentation for Tapestry
4.0.2.
But I ended up removing that entry from the page specification altogether,
it worked perfectly without it.
On 8/3/06, Mul <[EMAIL PROTECTED]> wrote:
On 8/3/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
>
> Hi all
>
> I
Only way forward is to get T5 dynamic page class reload stuff as far as I
can see.
So nice christmas present hopefully.
Henrik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all
I have a template, designed under DreamWeaver with loads of randomly placed
HTML tags, and Tapestry won't parse it. It chockes on tags that don't open,
it chockes on form tags placed at the same level as tables, etc.
Is there a way to tell Tapestry's HTML parser to be a bit more relaxed?
Yeah, I think (but am not entirely sure) that I said would add
"updateComponents/async" that I stuck in all the link components into the
Form/submit related components this weekend.
On 8/3/06, Denis Souza <[EMAIL PROTECTED]> wrote:
Yes, it makes sense. My first attempt at this was actually list
guys,
has anyone tried using SVG with tapestry.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
No, but I have some "friends" who are doing a lot of work in this area right
now.
Were you planning on doing some markup only style work or something closer
to interactive canvas-y work?
There is an effort underway currently to provide a unified browser API to do
some of these things (sponsored
i am planning to provide perhaps images, but not static ones but
dynamic ones which would change depending upon the screen size or some
other trigger. it would be very good if SVG can be compatible with tap
and even backward compatible with previous tap versions.
-
- Are you sure it's serializable? Try to write a simple unit test to
serialize the object to a ByteArrayOutputStream for example.
- In your preferred IDE set a breakpoint to NotSerializableException to
check the the location/context of the exception, so you can manually
find the cause of the err
77 matches
Mail list logo