> In my case, I did as Howard suggested and captured that scenario in my
> dispatcher, encoded the search
> term into a new url, and did a redirect.
+ 1
I use this too and it works well.
- Original Message -
From: "Brian Deterling"
To: "Tapestry users"
Sent: Tuesday, 23 June, 2009 00:3
Hi,
>I am searching for a good way to style my components.
I have been too since the start of the Tapestry 5 project... my rule of thumb
for components requiring CSS (the very simplified version) is to use a
component specific style sheet, and not to include these CSS rules in the
global style
Will JSF 2.0 with five primary goals be a winner?
1. make custom components much easier to develop,
2. add first-class AJAX support,
3. incorporate a page description language based on Facelets into the core JSF
specification,
4. reduce the required configuration,
5. and provide for better c
Hello,
I just tried playing with FormFragments in a simpliest example, and I
couldn't get it to work in my IE7 and Chrome. Fragment is always shown
regardless of checkbox state.
I dunno if it's maybe because of:
https://issues.apache.org/jira/browse/TAP5-749
Here's my simple template portion
Take a look into this class:
http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/ioc/test/TestBase.html
The methods create, get and set are useful in tests.
On Tue, Jun 23, 2009 at 12:19 AM, Kai Weber wrote:
> How would I test a page or a component when a @Parameter is not acces
I'll be talking about Clojure and Cappuccino at NoFluffJustStuff
Pacific Northwest Software Symposium, which runs from Sept. 18th to the
20th in Redmond, WA.
I seem to have the 'C's covered, but how about the 'T's? If you are
attending NFJS or you absolutely, positively, 100% would attend if I
was
Em Mon, 22 Jun 2009 19:19:27 -0300, Kai Weber
escreveu:
How would I test a page or a component when a @Parameter is not
accessible because of its need to be a private variable?
If the component is written by you, add a getter and a setter, probably
with package visibility.
--
Thiago H.
Em Mon, 22 Jun 2009 19:22:35 -0300, Kai Weber
escreveu:
Hi,
Hi!
I am searching for a good way to style my components. How would I do
that?
I found that adding the CSS directly to the component class (with
@IncludeStylesheet) makes page specific changes to a component hard due
the loa
Em Mon, 22 Jun 2009 19:27:54 -0300, Captain Cid
escreveu:
i used
@Component(parameters =
{"id=123" })
@Property
private productInfo productInfo;
and ${productInfo.description} worked. Thnx
:)
ya but i guess better would be to define function in page class to
retrieve
information from
Hi Kai,
I use a layout component for every of my pages (look
here:http://tapestry.apache.org/tapestry5.1/guide/layout.html). So this seems
to be a good place to include the stylesheet. I use a single file for my hole
app.
Regards, nillehammer
==
http://www.winfonet.eu
- original Nachrich
Em Mon, 22 Jun 2009 19:08:40 -0300, nille hammer
escreveu:
Hi List,
Hi Hammer! :)
@SessionState
private T value;
@SessionState is handled by ApplicationStateManager per type, so I guess
that it looked at your field and saw an Object.
I have looked for inspiration on ars-mach
i used
@Component(parameters =
{"id=123" })
@Property
private productInfo productInfo;
and ${productInfo.description} worked. Thnx
ya but i guess better would be to define function in page class to retrieve
information from component !
Thiago H. de Paula Figueiredo wrote:
>
> Em Mon, 22 Ju
Hi,
I am searching for a good way to style my components. How would I do that?
I found that adding the CSS directly to the component class (with
@IncludeStylesheet) makes page specific changes to a component hard due
the loading order of the stylesheets (page's css comes before the
component'
How would I test a page or a component when a @Parameter is not
accessible because of its need to be a private variable?
I want to test my pages and components with unit tests as I do with my
service classes.
Regards, Kai
-
package tapestry.pages;
public class showpage {
@Component
private Info Info;
}
---
package tapestry.components;
public class Info {
@Inject
private Request request;
private String description="some text";
Hi List,
in many of my pages I find myself doing similar things. I collect data with a
form and store it in a SessionState field. Then i forward to a summary page. In
onActivate of summary page check for existence of SessionState value whith
boolean valueExists. If value exists I show the summa
Em Mon, 22 Jun 2009 18:13:13 -0300, Captain Cid
escreveu:
Render queue error in Expansion[ComponentResources[expansion
Info.Description]]: Component showPage does not contain an embedded
component with id 'productInfo.Description'. Available components:
outputraw, outputraw_0, Info.
You can
> actually, it is not defined in the page class
Seems like you need to provide more information for us to understand your
issue.
> in my showpage class i use
>
> @Component
> private Info Info;
>
> so it still gives error saying
> tapestry.pages.showpage does not contain a property named 'descri
I have a similar scenario. I want the user to be able to do a search and end
up at a nice url like /search/term. However, if their session times out, I'd
like to capture the original url, wait for them to log back in (or log in
automatically via cookie), and then redirect them to the original url.
actually, it is not defined in the page class
in my showpage class i use
@Component
private Info Info;
so it still gives error saying
tapestry.pages.showpage does not contain a property named 'description'
Piero Sartini-3 wrote:
>
>> >> secondly i have a component Info with a variable say "
> >> secondly i have a component Info with a variable say "private String
> >> description"
> >> and function
> >> public String getDescription() {
> >>return description;
> >> }
> >>
> >> how can i use it in template ??
> >> ${component:Info.description} doesnt work !
Just use ${descr
Thiago H. de Paula Figueiredo wrote:
>
> Em Mon, 22 Jun 2009 17:18:28 -0300, Captain Cid
> escreveu:
>
>> Hi,
>
> Hi!
>
>> I am new to tapestry
>
> Welcome!
>
>> i have 2 questions
>>
>> firstly if i want to render some html from a function in page...how will
>> i
>> do...
>> suppose
Em Mon, 22 Jun 2009 17:18:57 -0300, haipeng du
escreveu:
In my page, I have one requirement to keep data in the request cycle and
discard it after response sent back. I will not use @Persist as it is
not.
Why not @Persist(PersistenceConstants.FLASH)?
But, when I try to trace request pro
Em Mon, 22 Jun 2009 17:18:28 -0300, Captain Cid
escreveu:
Hi,
Hi!
I am new to tapestry
Welcome!
i have 2 questions
firstly if i want to render some html from a function in page...how will
i
do...
suppose template has ${show}...
and i define
public String getShow() {
return "Hello"
On Mon, Jun 22, 2009 at 2:18 PM, haipeng du wrote:
> In my page, I have one requirement to keep data in the request cycle and
> discard it after response sent back. I will not use @Persist as it is not.
> But, when I try to trace request processing, I got following when I click
> submit button
>
In my page, I have one requirement to keep data in the request cycle and
discard it after response sent back. I will not use @Persist as it is not.
But, when I try to trace request processing, I got following when I click
submit button
(1) page attach method called
(2) event method is called
(3) pa
Hi,
I am new to tapestry
i have 2 questions
firstly if i want to render some html from a function in page...how will i
do...
suppose template has ${show}...
and i define
public String getShow() {
return "Hello";
}
it changes < to lt; gt; etc
secondly i have a component Info with a variable s
I am trying to link dynamically three dropdownboxes with the OnEvent Mixins
and javascript code. I am using the OnEvent.class from chenillekit.
Here is my page.tml :
The, here is my page.java :
@OnEvent(component = "grandparent", value = "change")
It's very nice to see more projects based on Tapestry and Tapestry-IoC
being released, and from more people. The more, the better. :)
Don't forget to file a documentation JIRA asking for inclusion of your
project in the Tapestry home page.
--
Thiago H. de Paula Figueiredo
Independent Java con
Stupid me, it seems that PageRenderLinkSource by default does what I'm
trying to achieve. It automaticaly adds activation context to render request
URL if no context specified.
I guess the thing works in such way that when during some request one asks
for some page via @InjectPage annotation,
Thanks for response.
I've added issue: https://issues.apache.org/jira/browse/TAPESTRY-2740
Your workaround works. Thanks!
--- workaround ---
@InjectObject("service:tapestry.state.SessionScopeManager")
public abstract StateObjectPersistenceManager getStateManager();
public void someMethod() {
The GPL is about distributing software. If you do not distribute your web application you should be
able to run GPL licensed software without disclosing your sources.
Uli
Am 22.06.2009 18:27 schrieb Kalle Korhonen:
Interesting, but you are using the most restrictive copy-left license,
GPL v3,
I agree with Kalle. Open source can't live only from enthusiasm.
On Mon, Jun 22, 2009 at 4:28 PM, Kalle Korhonen
wrote:
> Could it be that Tapestry doesn't have a lack of committers/commits
> but just one super productive committer? The truth is that most
> open-source projects are slowly evolvin
Yes, that is want I want. For now, what I've done works. Just getting
the page requires the use of internal classes. I can't even think
about how to get the component. Once this is included, then I can
eliminate my hack.
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
O
For now they will be GPL V3 - you are right that does limit them to
'internal' (e.g. where no distribution) or open source projects.
We can't change this right now - but it is something we will consider over
time.
Ben Gidley
www.gidley.co.uk
b...@gidley.co.uk
On Mon, Jun 22, 2009 at 5:27 PM, Kal
Interesting, but you are using the most restrictive copy-left license,
GPL v3, for these components.. you'd effectively have to provide
source for all of your server-side code for your users. Any plans to
change that?
Kalle
On Mon, Jun 22, 2009 at 7:22 AM, Ben Gidley wrote:
> Hi,
>
> I would lik
Very nice!! Thanks a lot! I will be trying them in a few days for sure :)
On Mon, Jun 22, 2009 at 4:42 PM, Massimo Lusetti wrote:
> On Mon, Jun 22, 2009 at 4:22 PM, Ben Gidley wrote:
>
>>
>> Hi,
>>
>> I would like to announce a new tapestry component library -
>> ioko-tapestry-commons -
>> http:/
On Mon, Jun 22, 2009 at 4:22 PM, Ben Gidley wrote:
>
> Hi,
>
> I would like to announce a new tapestry component library -
> ioko-tapestry-commons -
> http://tapestry.formos.com/projects/ioko-tapestry-commons/. This contains 3
> components
>
> - Tapestry Caching - Provides caching of the genera
Could it be that Tapestry doesn't have a lack of committers/commits
but just one super productive committer? The truth is that most
open-source projects are slowly evolving, because very few people are
in that fortunate position that they can devote most of their time on
working on things they like
Hi,
I would like to announce a new tapestry component library -
ioko-tapestry-commons -
http://tapestry.formos.com/projects/ioko-tapestry-commons/. This contains 3
components
- Tapestry Caching - Provides caching of the generated HTML for a page
snippet
- Tapestry SWF Object - Provides a
Hi Thiago,
I just upgraded my app to T5.1.x, reading the URL rewriting, I wish it could
be earlier, that way it would save me from having a big index page and a
cleaner code:), anyway, I see a big potential use of that feature, thanks.
Angelo
Thiago H. de Paula Figueiredo wrote:
>
>
>
> I'm
No problem.
igor.drobia...@gmail.com ha scritto:
> Sorry Ivano,
>
> I misunderstood you.
>
> On Jun 22, 2009 2:10pm, Ivano Luberti wrote:
>> Igor I was not pointing out the behaviour of any individual neither I
>
>> was trying to provoke anyone.
>
>> If you are one of the committers what kind of
Sorry Ivano,
I misunderstood you.
On Jun 22, 2009 2:10pm, Ivano Luberti wrote:
Igor I was not pointing out the behaviour of any individual neither I
was trying to provoke anyone.
If you are one of the committers what kind of shame can be on you ?
I'm simply surprised by lack of commit
On Mon, Jun 22, 2009 at 10:05 AM, Ivano Luberti wrote:
> That's the point: why this lack of sponsorships ?
I guess that's because companies sponsor the projects they use. Even
Tapestry being a wonderful web framework, most people and companies
don't know it, so they don't use it. Raising the aware
On Mon, Jun 22, 2009 at 9:53 AM, Peter
Stavrinides wrote:
> Hi,
Hi!
> I think that Ivano's post had a completely different tone and intention to
> the responses he is getting, its better to get this post back on track... the
> question at > hand is for more people to be contributing to Tapestry
In fact: otherwise I would have titled it lack of commits. :-D
Thiago partially has answered saying that only Formos is sponsoring T
in some way.
That's the point: why this lack of sponsorships ?
Great (ie with lot of committers) OS projects are not usually based on
free time provided by programme
Maybe there are so few committers because everyone is so busy being
productive using this great framework to roll out loads of software? :-)
-Original Message-
From: Thiago H. de Paula Figueiredo
Reply-To: Tapestry users
To: Tapestry users
Subject: Re: lack of committers
Date: Mon, 22
Thiago,
You provide a lot of assistance on this mailing list, either by
directly answering questions or providing suggestions that help people
solve their Tapestry issues or enable them to better understand how
Tapestry is working. To me, that is contributing and very worthwhile.
Thanks,
mrg
Hi,
I think that Ivano's post had a completely different tone and intention to the
responses he is getting, its better to get this post back on track... the
question at hand is for more people to be contributing to Tapestry (rather than
more from those who already contribute to Tapestry, 'who's
On Sat, Jun 20, 2009 at 9:07 AM, Ivano Luberti wrote:
> Howard, it seems to me that Tapestry has really few committers and is
> mainly driven by one man.
> It is a shame for a so beautiful piece of software.
> What is the reason ?
> Simply the typical lack of funding ? Or is a more or less choice
Igor I was not pointing out the behaviour of any individual neither I
was trying to provoke anyone.
If you are one of the committers what kind of shame can be on you ?
I'm simply surprised by lack of committers (comparing with other OS
projects), not saying that the ones that actually are committer
Dear Ivano,
I don't feel I need to justify myself but I'll answer to your provoking
question.
I can't speak for alle the committers but I commit the code to Tapestry in
my leisure.
Usually I commit to Tapestry after I worked 8-10 hours for my company.
Right now I'm writing a Tapestry book
you could just omit the manifest entry and configure your
appliction on startup by using the -Dtapestry.modules=
path.to.module,more property
g,
kris
haipeng du
21.06.2009 05:09
Bitte antworten an
"Tapestry users"
An
Tapestry users
Kopie
Thema
T5 disable loading specified module
Blackbird use is in the documentation
http://tapestry.apache.org/tapestry5.1/guide/ajax.html under Client-side
Logging
Angelo Chen wrote:
>
> Hi,
>
> cool, this works, is there a way to turn this off in the production mode?
> otherwise we have to remove those Logging.info("you are impossible
p.stavrini...@albourne.com wrote on 19/06/2009 17:00:14:
> could there be a naming problem in
> the constructor, shouldn't it read:
>
> public abstract class AbstractMyApplicationTest extends TapestryTest {
.
> public *AbstractMyApplicationTest()* { //and not TestifyTest() ?
> s
Howard, it seems to me that Tapestry has really few committers and is
mainly driven by one man.
It is a shame for a so beautiful piece of software.
What is the reason ?
Simply the typical lack of funding ? Or is a more or less choice made
by you for whatever reason.
Howard ha scritto:
> Just got
56 matches
Mail list logo