You could implement your own SymbolProvider [1] that reads a properties
file with all your runtime-stuff. You can implement a reloadable
mechanism so that the values can be altered at runtime (or not).
In your Module you contribute this provider to the SymbolSource service.
You can even decide
Hi --
For most things, I agree that the java-based configuration approach is best.
For us the exception is that we DO want some stuff exposed in a way that
does not involve editing java code. Changing java code requires a full
build/test/verification process, which should not be necessary for some
Yes, Hivemind had great concepts but tapestry-ioc provides all of the
same in a much simplified package (building pipelines comes to mind as
one of the good examples). But this integration offers a very nice way
to transition at your own pace.
Kalle
On Wed, Sep 30, 2009 at 3:26 PM, Patrick Moore
On Wed, Sep 30, 2009 at 3:35 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
>
>
>2. For other modules, we want to allow things like directory paths and
>> other text configuration to be exposed. (properties file??)
>>
>
>
> Nothing prevents you to have some service pull conf
Em Wed, 30 Sep 2009 19:09:49 -0300, Patrick Moore
escreveu:
Hi there --
Hi!
1. some inner plumbing modules do make better sense to be hidden away
from non-programmer type's fingers.
I would say that the almost everyting regarding plumbing should be only
touched by programmers.
Oh sweet!
This is an EXCELLENT intermediate solution...
obviously we will use this as transition.
equally obviously, we would like to get rid of hivemind.
Patrick Moore
Amplafi
http://amplafi.com
650-207-9792
"Amplafi enables businesses, professional organizations, bands, and other
organization
http://chenillekit.codehaus.org/chenillekit-hivemind/index.html
Kalle
On Wed, Sep 30, 2009 at 3:09 PM, Patrick Moore wrote:
> Hi there --
>
> I am looking to move from T4 to T5.
>
> In T4/hivemind configuration configuration was in xml files. This was great
> because:
>
> 1. is easily modifi
Hi there --
I am looking to move from T4 to T5.
In T4/hivemind configuration configuration was in xml files. This was great
because:
1. is easily modifiable by non-Java programmers.
2. By only allowing non-java types to change xml files, there was limited
ways that damage could be done
On Wed, 30 Sep 2009 22:32:50 +0200, shymon wrote:
My template is as follows:
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
xmlns:p="tapestry:parameter">
and activation context methods:
void onActivate(String eid) {
setEid(eid);
}
List onPass
Thiago H. de Paula Figueiredo wrote:
>
> Em Wed, 30 Sep 2009 13:24:40 -0300, shymon
> escreveu:
>
>> Hi,
>
> Hi!
>
>> Moreover, during the second pass my activation context variable has
>> unexpected value. eg.:
>
> Make sure you use ${asset:...} or absolute paths to reference any files
thanks, but its requires to create such code on every page
On Wed, Sep 30, 2009 at 19:38, Sergey Didenko wrote:
> is to pass page activation context as action
> context, then initialize and return component as AJAX response:
>
> The code may require some cleanup, but the idea is the following:
Hello,
I define the application version along with some other things as
context-params in web.xml. What is the best way to read these parameters in
T5? Thanks.
Benny
Em Wed, 30 Sep 2009 13:24:40 -0300, shymon
escreveu:
Hi,
Hi!
Moreover, during the second pass my activation context variable has
unexpected value. eg.:
Make sure you use ${asset:...} or absolute paths to reference any files
inside your templates.
--
Thiago H. de Paula Figueiredo
Ind
Also good to know is that @SessionStateObjects (was:
@ApplicationStateObject) are stored in the HTTP session with the key "sso:"
+ MySessionStateObject.class.getName() (Tapestry 5.1)
Olle Hallin
Senior Java Developer and Architect
olle.hal...@crisp.se
www.crisp.se
2009/9/30 cordenier christoph
Hi,
I have simple page. Just and few 's
After adding java applet to it I noticed that single request in browser
causes tapestry to render this page 2 times. (at least beginRender method
ist executed 2 times - and only one time when there is no applet on page).
Moreover, during the second pass m
Another alternative is to pass page activation context as action
context, then initialize and return component as AJAX response:
The code may require some cleanup, but the idea is the following:
tml:
...
java:
@Parameter
private long someId
@Component
private
Maybe you can use a client side pagination to minimize conflicts with the
AjaxFormLoop.
2009/9/30 Stefan
> I think i can build something for me, should not be a large problem.
> Fortunately I did not take JSF ;)
>
>
> Am 30.09.2009 um 17:15 schrieb cordenier christophe:
>
>
> Then i don't know
If you choose to use a servlet session listener, keep in mind that the
Tapestry Registry can be obtained from the application context under this
key "TapestryFilter.REGISTRY_CONTEXT_NAME".
Then you can have access to all Tapestry 5 services including the
ApplicationStateManager.
2009/9/30 Gunnar
I think i can build something for me, should not be a large problem.
Fortunately I did not take JSF ;)
Am 30.09.2009 um 17:15 schrieb cordenier christophe:
Then i don't know any component for That. Sorry.
2009/9/30 Stefan
I have build a "Constraint composing page"
With the loop you can ad
Hi !
I am porting a huge jsp/spring kludge to T5. (And love it ...)
I have now come across a UserTracker implementation that tracks currently
logged in users.
How is this best done in T5 anyone?
I could perhaps stick with the old servlet but I am not sure of how T5
creaets/destoys sessions and
Then i don't know any component for That. Sorry.
2009/9/30 Stefan
> I have build a "Constraint composing page"
> With the loop you can add/remove rows of constraints:
> Each row contains a set of ajax-enabled, chained selects.
> It works very well, but to enable an unlimited amount of rows i ne
I've had that happen. Query parameters either weren't @Persist-ed or
otherwise not part of the activation context, so when clicking the
sort links, it forgot what it was querying. Which does bring up an
interesting point: allowing a different activation context for tables
to keep the persis
I have build a "Constraint composing page"
With the loop you can add/remove rows of constraints:
Each row contains a set of ajax-enabled, chained selects.
It works very well, but to enable an unlimited amount of rows i need
to have it pageable.
Am 30.09.2009 um 17:03 schrieb cordenier christo
What are you trying to do with AjaxFormLoop ? Actually, the Grid component
supports pagination, inplace update and allow to work with forms on multiple
entries using the encoder parameter.
2009/9/30 Stefan Schütz
> Hi folks,
>
> is it somehow possible to getting an AjaxFormloop pageable?
> Found
Hi folks,
is it somehow possible to getting an AjaxFormloop pageable?
Found nothing; neither in mailing lists nor on other sites.
Greets,
Stefan
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional com
On Wed, Sep 30, 2009 at 3:52 PM, Thiago H. de Paula Figueiredo
wrote:
> Of course, we could implement that too. Any implementation hints? :D
I'm sorry i don't go that further :)
--
Massimo
http://meridio.blogspot.com
-
To uns
Em Wed, 30 Sep 2009 10:49:52 -0300, Massimo Lusetti
escreveu:
We definitely should rise a vote for a configuration symbol:
tapestry.make-my-life-easier to be set default to true :)
Tapestry already does that, no? :)
Of course, we could implement that too. Any implementation hints? :D
--
Th
On Wed, Sep 30, 2009 at 3:46 PM, Thiago H. de Paula Figueiredo
wrote:
> Em Wed, 30 Sep 2009 10:32:53 -0300, Andrey Larionov
> escreveu:
>
>> Thanks, but my interest not only in pager, but in creating complex
>> stateless apllications easy
>
> It's not documented, but there is a configuration sym
Em Wed, 30 Sep 2009 10:32:53 -0300, Andrey Larionov
escreveu:
Thanks, but my interest not only in pager, but in creating complex
stateless apllications easy
It's not documented, but there is a configuration symbol
(tapestry.persistence-strategy, SymbolConstants.PERSISTENCE_STRATEGY),
th
Thanks, but my interest not only in pager, but in creating complex
stateless apllications easy
On Wed, Sep 30, 2009 at 17:20, Jack Nuzbit wrote:
> rote a paging component that I think would do what you want. The
> component takes a PageSource implementation which acquires the paged list of
> item
I wrote a paging component that I think would do what you want. The
component takes a PageSource implementation which acquires the paged list of
items for display and also constructs the page activation context for any
paging links - so there's no need for any @Persist annotations.
Here's my blog
You're welcome, hope this helps you to choose the good solution for your
needs.
2009/9/30 Andrey Larionov
> Thanks.
>
> On Wed, Sep 30, 2009 at 16:41, cordenier christophe
> wrote:
> > It also exists @Persist("client") to store the information directly in
> link
> > URLs
> >
> > And have a look
Thanks.
On Wed, Sep 30, 2009 at 16:41, cordenier christophe
wrote:
> It also exists @Persist("client") to store the information directly in link
> URLs
>
> And have a look at this, this is the topic i was talking about
>
> http://markmail.org/search/?q=list%3Aorg.apache.tapestry.users+onactivate+
It also exists @Persist("client") to store the information directly in link
URLs
And have a look at this, this is the topic i was talking about
http://markmail.org/search/?q=list%3Aorg.apache.tapestry.users+onactivate+component#query:list%3Aorg.apache.tapestry.users%20onactivate%20component+page:
But Pages is Components. As i understand there are no distinction. Or i'm wrong.
So there no so simple way to drop persistence?
On Wed, Sep 30, 2009 at 16:30, cordenier christophe
wrote:
> Keep in mind that onActivate and onPassivate are called on pages not
> components.
> I you are trying to ac
Keep in mind that onActivate and onPassivate are called on pages not
components.
I you are trying to activate/passivate components , I think there is current
post on the user mailing list.
2009/9/30 Andrey Larionov
> Also i have two components which works like described on page
> http://tapestry
Also i have two components which works like described on page
http://tapestry.apache.org/tapestry5.1/guide/pagenav.html
in section "component event requests / Persistent Data".
On components sets data in another. Can i replace persistency in this
place by onActivate/onPassivate?
I implement this me
On Tue, Sep 29, 2009 at 11:24 PM, Andreas Pardeike wrote:
> How can I make sure that information from component construction time will
> survive so it can be used when the ajax event is processed?
That's how things works, currently. It's a task for your "service" to
provide that.
Cheers
--
Mas
Tapestry Form components adds name attribute directly name attribute via
MarkupWriter.
A workaround is maybe to create MarkupWriterListener that listens to node
creation and use forceAttributes to remove the name attribute from form
elements. If you set name to 'null' it must be removed. Here is a
Hi Ian,
Did you find a solution for this?
Cheers,
Daniel
Ian Fieldhouse wrote:
>
> When using a form component in my template with the following markup
> the rendered html includes a 'name' attribute
> for the form element. I'm trying to author my pages in 'XHTML
> Strict' (having incl
You understand correctly that the rows are fetched from getUsers
method for the first
time - BUT when clicking on the columns it will NOT sort the rows based on
earlier fetched rows...
It needs to call getUsers again (and then do the sorting) - is there
any logic in that
method that makes it retur
Hello
Have a look at the LinkCreationListener which can be used to add custom
parameters.
If you couple this to a Per-thread service you can achieve to pass data from
one request to another.
2009/9/30 Andrey Larionov
> I want to create stateless application. Which aproach i should use.
>
> For
Storing the value using onActivate/onPassivate should effectively work. But
you will need to implement a new grid pager.
On Wed, Sep 30, 2009 at 12:45 PM, Andrey Larionov wrote:
> I want to create stateless application. Which aproach i should use.
>
> For example i have an some pagination compone
I want to create stateless application. Which aproach i should use.
For example i have an some pagination component similar to GridPager,
but less coupled to paginating component. In Tapestry current page is
stored in Persist field. WHat is alternative solution? Can i use
onActivate/onPassivate t
Hi Paul.
Thanks a lot for the pointer. The presented approach seems easy.
Thanks also for the other responses to my questions.
Br,
Timo.
Paul Field wrote:
Hi Timo,
You may be interested in this issue in the Tap5 issue tracking system:
https://issues.apache.org/jira/browse/TAP5-633
Look in t
Hi Timo,
You may be interested in this issue in the Tap5 issue tracking system:
https://issues.apache.org/jira/browse/TAP5-633
Look in the comments as there is some discussion about how to achieve the
"page" class prefix.
- Paul
"Thiago H. de Paula Figueiredo" wrote on 29/09/2009
22:20:26:
If your purpose is to secure your bean property, i think you should create
an intermediate bean for your User creation.
Tapestry Form properties are mapped to bean properties, and properties are
set simply via accessors.
Tapestry requires an empty constructor to your bean, and this is how
Tapestry
The latest version of tapestry still comes with version 1.6.0 of the
prototype javascript framework. It isn't until version 1.6.1 that this is
compliant with IE8 and a lot of the problems with the old version and IE8
have been fixed. Does anyone have any idea when the updated library will be
inclu
48 matches
Mail list logo