Hello,
I ran into the situation where I needed to insert a double-quote in an OGNL
expression. I wanted to do: value="ognl:'Section: \"' + section.name + '\"'",
but the Tapestry parser doesn't like that very much.
A solution offered in the archives is to explicitly declare the component in
th
I believe all you need to do is this after installing maven:
"mvn"
in the main tapestry directory. ;)
On 10/10/06, Ryan Cuprak <[EMAIL PROTECTED]> wrote:
Hello,
Just curious if there are instructions for building Tapestry 4.1
from source/version control?
I did find http://tapestry.apache
Hello,
Just curious if there are instructions for building Tapestry 4.1
from source/version control?
I did find http://tapestry.apache.org/tapestry4.1/download.html but
I am not quiet sure what I need setup. I have begun looking into
maven but it is a bit tangential to tapestry 4.1.
Than
I declared the proper interface as being implemented and that was all that was
needed. Works on components.
Thanks,
Ezra Epstein
-Original Message-
From: andyhot [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006 5:08 PM
To: Tapestry users
Subject: Re: Tapestry page (and
Jesse Kuhnert wrote:
> I don't remember whether or not Page listeners get attached to
> components or
> not. It doesn't sound like something that would make sense, but who
> knows..
They do get attached to components...
but i'm under the impression that your page also has to
implement PageBeginRe
I don't remember whether or not Page listeners get attached to components or
not. It doesn't sound like something that would make sense, but who knows..
For "components" specifically, you also have the other options involved,
like:
(from
http://tapestry.apache.org/tapestry4.1/target/site/tapestr
A-ha! So if I have a component that implements this that component will
auto-magically be registered and receive the call-back?
Thanks,
Ezra Epstein
Amazon.com - Developer Tools
206-266-2259
-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October
I'd have to dig into the code to be sure I understood all points but I don't
think addPageBeginRenderListener is called by user code most of the time. ..
If you page implements one of the various Listener classes (like umm...
PageBeginRenderListener) - the framework will detect it and perform the
To answer the last question first, maybe. That depends on how you do it. :)
If the solution involves any potential added overhead for all properties to
handle a 2% use-case then it'll get scrutinized and not likely make it
in...If the design fits in line with the rest of the system + doesn't incur
Hi,
I am using Tapestry 3.x and wondering how to customize my .css file with the
Shell component. I want to be able to swap out my Shell component by putting
it inside of a Library. If I do that can I still just reference it in my
.html? I don't know why I think it is any different from any o
The common idiom for listener registration (Swing, Java Beans, etc.) is that
the remove() method returns the listener and the add() method only adds a
listener if it's not already listening. Tapestry's impl follows neither of
these approaches. Is there a reason for the naïve implementation of
This pretty much confirms to me that there's a lack of a notification feature
for parameter binding events. Seems pretty basic and would be easy to add.
May I add that in a way that might make its way back into the code base?
Thanks,
Ezra Epstein
Amazon.com - Developer Tools
206-266-2259
Oh I see,
Thats kinda along the lines what I was attempting with the url resolver
but it looked like I would have to match the version numbers exactly in
order to pull the latest library builds.
Thanks for your suggestion, I'll try it out.
Leo
Konstantin Ignatyev wrote:
Maven2 integration
Maven2 integration in Ivy is not ideal, we are
supposed to have own Ivy repo ;) or use WOJ
but you can simply use something like this, and do not
mess with URL resolvers:
http://people.apache.org/repo/m2-snapshot-repository/incubator-activemq/activeio-core/3.0-SNAPSHOT/activeio-core-3.0
http://www.madskristensen.dk/blog/CommentView,guid,9b4acb83-3ab4-45a0-be95-b4279f4da7d1.aspx
The preceeding link is a an implementation (not my own, obviously) of
a ASP.NET "engine-service" which renders your css based on scripted
inputs.
I know there's a lot to be said for x-platform CSS, but t
Hi,
I have a menu component that extends AbstractComponent. It seems that my
DirectLinks in the menu component does not work. I have 4 different Listener
methods and I have injected the pages that they should go to. If I add
sysout:s to se if I end upp in the listener methods nothing happens. I ha
Jesse!
How horrible -- I was sick yesterday and hadn't checked my email over
the weekend so accept my sincerest apologies for not thanking you
earlier!
I just booted my app and was surveying one of the sore spots (the drop
down time pickers) when I noticed that some err.. .. magical...
tapestry
Thank you for your quick answer. It works perfectly fine now.
Cheers,
Jacob
--
View this message in context:
http://www.nabble.com/Problems-with-css-tag-in-custom-components-tf2417055.html#a6745243
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Hi Konstantin,
I'm trying to get Ivy working as per your suggestion but I'm having
trouble pulling dependencies via a url resolver (as that seems to be the
only option from what I could gather) for the 4.1.1-SNAPSHOT. Since I'm
trying to retrieve libraries from
http://people.apache.org/repo/m
Thanks for the input Matthew. I especially like enhancements that make
components/widgets more usable. Since this is a dojo widget you might want
to share some of your thoughts at trac.dojotoolkit.org .
Or, if you had a suggestion for a DatePicker that you think works
"correctly" I'm always open
I'm not sure what the requirements are wrt properties and specific users.
I've done similar things on a "per request" basis via doing something like:
public abstract int getProp();
public abstract void setProp(int value);
public int getComplicatedValue()
{
if(getProp() == -1) {
// do somet
Payne, Matthew wrote:
> Fyi: that dojo dropdownpicker has nice "eye candy effects", but terrible for
> entering dates many years in the part.
>
> http://archive.dojotoolkit.org/nightly/tests/widget/test_DropdownDatePicker.html
>
> Though the standard tapestry date picker is not so good at that as
Fyi: that dojo dropdownpicker has nice "eye candy effects", but terrible for
entering dates many years in the part.
http://archive.dojotoolkit.org/nightly/tests/widget/test_DropdownDatePicker.html
Though the standard tapestry date picker is not so good at that as well.
I really hope that does n
That's the opposite of the functionality I want. These are not PER request.
They are per instance of a component. Thus true instance variables are the way
to go. Tapestry recycles Components and it seems that within a request the same
component is re-used but not cleared (ivars reset) even th
I've seen this issue before on this list but not seen any satisfying
solution.
This is my problem:
Based on the querystring to one of my tap pages (it is a link from outside)
I derive the locale that I wan't to use to display the requested page.
In other part of my app I use a DirectLink and a li
I'm intressted in doing about the same.
Can you explain in more detail how you solved it?
Malin
On 10/3/06, Hardi Rokk <[EMAIL PROTECTED]> wrote:
Answering my own question:
I resolved this problem by overriding
tapestry.request.RequestLocaleManager service point in my hivemind conf
and just a
Yes - you can do much with the delegate :)
BTW - consider using CSS for this instead of adding elements , it might
be more elegant and easier to maintain...
Cheers,
Ron
Reto Hotz wrote:
> Hi,
>
> On 10/10/06, Ron Piterman <[EMAIL PROTECTED]> wrote:
>> Dave Rathnow wrote:
>> > Also, is there an e
Robin,
Great idea. If we migrate to 4.x, I will try it. I don't know what Howard is
going to have available for 5.x, but I think it will support this.
regards,
Mark
Mark J. Stang
Senior Engineer/Architect
office: +1 303.468.2900
mobile: +1 303.507.2833
Ping Identity
-Original Message--
Thank you for your answer, I will try this solution too.
Cheers,
Jacob
--
View this message in context:
http://www.nabble.com/How-to-pass-parameters-between-Page-and-component-tf2412533.html#a6737950
Sent from the Tapestry - User mailing list archive at Nabble.com.
thank you Dennis for your answer, it works perfectly fine :-)
Cheers,
Jacob
--
View this message in context:
http://www.nabble.com/How-to-pass-parameters-between-Page-and-component-tf2412533.html#a6737930
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
For tap 3.0.x and 4.0.x assuming you use the Insert component,
http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Insert.html
set the raw attribute to true.
For tap 4.1.x, there's already a component for correctly including a css
http://tapestry.apache.org/tapestry4.1/components/Sty
Hi,
I have some problems with my custom components. Each of the components have
their own CSS so I need to insert a tag like this for the component:
this tag will not end up in the tag but actually in the body of the
html.
The results come out like this (disregard the white spaces in the bigi
Hi,
On 10/10/06, Ron Piterman <[EMAIL PROTECTED]> wrote:
Dave Rathnow wrote:
> Also, is there an easy way to get the individual error messages from the
> validation delegate?
In such a case you need to create your own class, extending the standard
validation delegate. There are methods which al
Dave Rathnow wrote:
> I have written a component that contains text fields that need to be validated
> when a page is submitted but I can't figure out how component validation
> hooks into Tapestry's validation framework. I can access my validation
> delegate
> in my page component but how can I
This is also how I do it but I thought I read in a previous post that this
is not the "best" way of doing it. Is this correct?
On 10/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
That depends on what you want to happen when they click on that asset?
I've found the "ServiceLink" component ind
I have written a component that contains text fields that need to be validated
when a page is submitted but I can't figure out how component validation
hooks into Tapestry's validation framework. I can access my validation delegate
in my page component but how can I get the validation delegate fr
One way would be to create a factory for instances of this class in
hivemind, and inject any services you need to it.
Another way would be to get the registry instance tapestry uses, which
is stored as a context attribute. see the ApplicationServlet code.
Cheers,
Ron
Edoardo Campagnano wrote:
>
Yes, I know why this happends: you have a bug, a mistake in your code.
Cheers,
Ron
Andrés Nates wrote:
> Hello
>
>
>
> I have the following problem
>
>
>
> I have a list of checkboxes, when i select a checkbox the page recharges
> itself. But if i select the last of the checkboxes in the
Hi to all,
I've got a small prioblem with HiveMind. I wrote a small Service but I must
use from a class taht is outside a Tapestry component and can't be declared
abstract. I need something like in the HiveMind manual:
(from the HiveMind home page)
.
Registry registry = RegistryBuilder.constru
On 10/9/06, Mark Stang <[EMAIL PROTECTED]> wrote:
Try JProfiler. It can track where you application is spending all of its time.
One thing that came up earlier is that OGNL is a hog. However, we haven't
found Tapestry to be the issue, but the rest of the app...
For simple expressions, try
Why store them in local variables?
Store it in the current request cycle...
First do a cycle.getAttribute("myexpensivevar") if that returns null, do
the computations and store
the result back cycle.setAttribute("myexpensivevar",obj);
See
http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/ap
Also, that title should have been "parameter binding events" not (generic)
property. The situation I have occurs when the framework sets the parameter on
a Component.
Thanks,
Ezra Epstein
-Original Message-
From: Epstein, Ezra [mailto:[EMAIL PROTECTED]
Sent: Monday, October 09, 20
OK, let's get to brass tacks.
I have some derived values that are somewhat expensive to compute so I compute
them once per request/response cycle and then they're in local instance
variables (non-persisted).
The particular component in question (with the semi-expensive derived values)
is used
43 matches
Mail list logo