Hi
EventLinks have event handlers of the form
on'EventName'
and the event name defaults to the component id.
'FromComponent' is not going to work as the event is triggered in the container
without reference to the component triggering it. This allows shorter url
http://tapestry.apache.org/cu
That didn't seem to make a difference, but it sounds prudent.
On 9 November 2011 17:09, Lenny Primak wrote:
> AfterRender, not afterRenderBody and beginRender and it should work.
>
>
>
> On Nov 9, 2011, at 4:58 PM, Michael Prescott
> wrote:
>
> > I had tried those instructions, but I guess I wa
I am stuck on a rather silly operation. I have an eventLink in the tml and
it's event handler in the class like so:
tml ->< a t:id='postConversationLink'>click the link < / a >
class ->
@Component(parameters = {"event=postConversationEvent"})
private EventLink postConversati
AfterRender, not afterRenderBody and beginRender and it should work.
On Nov 9, 2011, at 4:58 PM, Michael Prescott
wrote:
> I had tried those instructions, but I guess I was a bit too rote (not being
> familiar with these events, most of my components have templates); I need
> to close the el
I had tried those instructions, but I guess I was a bit too rote (not being
familiar with these events, most of my components have templates); I need
to close the element in afterRenderBody(). Thanks for the encouragement to
continue puzzling it out.
Michael
On 9 November 2011 16:28, Lenny Prima
You have to have beginRender/afterRender(MarkupWriter) methods
in your page, and then write the root element in them, and then it should work.
I followed the InformalParameter documentation page and it worked.
On Nov 9, 2011, at 4:25 PM, Michael Prescott wrote:
> How do you render informal parame
Yep
On Wed, Nov 9, 2011 at 9:10 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Wed, 09 Nov 2011 17:49:07 -0200, Igor Drobiazko <
> igor.drobia...@gmail.com> wrote:
>
> Just inject ApplicationStateManager into the contribution method. The
>> service provides access to SSOs. N
On Wed, 09 Nov 2011 17:49:07 -0200, Igor Drobiazko
wrote:
Just inject ApplicationStateManager into the contribution method. The
service provides access to SSOs. Note that injecting into TypeCoercer's
contribute method is special; you need to use @InjectService annotation.
Is this for avoidi
Get the ApplicationStateManager in the appmodule method call and from there
you can get any session state.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-get-a-SessionState-object-in-AppModule-contributeTypeCoercer-tp4978877p4978897.html
Sent from the Tapestry - Us
Just inject ApplicationStateManager into the contribution method. The
service provides access to SSOs. Note that injecting into TypeCoercer's
contribute method is special; you need to use @InjectService annotation.
On Wed, Nov 9, 2011 at 8:43 PM, Tim wrote:
> I'm contributing a type coercer for
I'm contributing a type coercer for one of my classes called
SearchCriteria in my AppModule.contributeTypeCoercer method.
SearchCriteria is a class that holds search information for when someone
does a search on the website, and I'm passing it around with onActivate
and onPassivate. It is the
When you said Done, do you mean you have provided the source somewhere else?
Would you mind sharing the URL? Wiki or otherwise? Thanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Beaneditform-with-two-submit-buttons-tp4967644p4978709.html
Sent from the Tapestry - User
Yes you are right Thiago, it's only my habit :)... Maven Jetty plugin
always worked well for me, but configure jetty with any eclipse pluging was
too difficult..
--
David Germán Canteros
2011/11/9 Thiago H. de Paula Figueiredo
> O
On Wed, 09 Nov 2011 11:25:29 -0200, Peter Stavrinides
wrote:
Hi Thiago,
Have you tried adding the function as a JSONLiteral? And why are you
returning a function instead of having this function declared somewhere
else and just passing parameters to it in the JSONObject?
I am not, Tapestry i
Thanks Christian-
I have spotted the problem with the help of your trick to know the exact
cause of it.
Thanks for your help.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Setup-methods-are-called-twice-while-requesting-a-page-tp4975888p4977710.html
Sent from the Tapestr
Hi Thiago,
> Have you tried adding the function as a JSONLiteral? And why are you
> returning a function instead of having this function declared somewhere
> else and just passing parameters to it in the JSONObject?
I am not, Tapestry is responsible for these hooks, we simply pass the
configu
On Wed, 09 Nov 2011 11:13:39 -0200, David Canteros
wrote:
A tip: when I started with tapestry and Eclipse-Jetty, I found more
useful executing jetty with maven pluging, directly from command line
writing "mvn jetty:run".
Or you can create a Maven/m2eclipse run/debug configuration that i
On Wed, 09 Nov 2011 10:56:21 -0200, ramakanthreddy.t
wrote:
got the turotial example from the apache site built using the commands
given and then I have created the resources required for the exlipse to
work and then imported the project into eclipse into maven as existing
maven project.
A tip: when I started with tapestry and Eclipse-Jetty, I found more useful
executing jetty with maven pluging, directly from command line writing "mvn
jetty:run".
--
David Germán Canteros
2011/11/9 ramakanthreddy.t
> got the tu
got the turotial example from the apache site built using the commands given
and then I have created the resources required for the exlipse to work and
then imported the project into eclipse into maven as existing maven project.
I have downloaded the jetty plugin for my eclipse and I have created t
On Tue, 08 Nov 2011 11:49:33 -0200, ramakanthreddy.t
wrote:
I am working on simple examples that are there in the Tapestry site and
for each change I am not seeing the changes with out restarting the Jetty
server. I have used -Dorg.apache.tapestry.disable-caching=true but with
out any use
I often use Amazon CloudFront (or Google for jQuery) to serve
CSS/Javascript on websites so the Tapestry @Include is only useful in
development for me and currently there does not seem to be a generic
way to turn off all the defaults. It would be OK (perhaps better) if
there was a default include s
Thanks for the input again, live and learn :)
In case anyone comes looking, the easiest way is to set a class "c" to body
and prepend all your styles with .c.
- Ville
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-3-rc3-ordering-of-css-tp4969412p4977487.html
Sent fro
Hmm,
I might then have done an error by mistakenly took for granted that the Tap5
stylesheet comes before mine. Thanks for the specificity link, that clears
it up nicely.
Well, now I have to go write all my css again that overrides Tap 5 styles ;)
- Ville
--
View this message in context:
ht
Hi,
Are relative URLs in CSS the only reason that combining CSS files in stacks
isn't supported? Or are there other issues?
Basically, I want to serve a combined stack for each 'product' in our multi
product application. Products contain many CSS files.
I'm looking now at how to add CSS suppor
Great explanation Robert!
Thanks,
Peter
- Original Message -
From: "Eugene Zhulkov"
To: users@tapestry.apache.org
Sent: Wednesday, 2 November, 2011 14:30:19 GMT +02:00 Athens, Bucharest,
Istanbul
Subject: Re: Insert Stylesheet to the Head top
It works! Thank you all very much!
Code:
Hi Thiago,
> Have you tried adding the function as a JSONLiteral? And why are you
> returning a function instead of having this function declared somewhere
> else and just passing parameters to it in the JSONObject?
I am not, Tapestry is responsible for these hooks, we simply pass the
configu
I might be missing something here but why do you not solve the problem with css
specificity [1]? Css should never care about the order in which you load your
css files IMHO.
Cheers,
Joost
[1]: http://www.htmldog.com/guides/cssadvanced/specificity/
On Nov 9, 2011, at 9:19 AM, Ville wrote:
> T
To clarify why the ordering IS important, if my css is included before
Tapestry's default, then I can't override T5's default styles. (And the
second picture in my earlier post demonstrates this..)
The proposed fix that I then exclude the T5 defaults altogether is not imho
the most elegant fix.
So the fix is to exclude all css files that third party libs include, then
copy the css from those jars, modify it and include it yourself?
I don't get how the ordering is not important, as the order dictates how the
styles are applied, and what overrides what?
- Ville
--
View this message in c
30 matches
Mail list logo