Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Josh Canfield
>>> when some operation was done in my page (actually ,updating data in
>>> database),data in page refreshed, but data in layout component don't
>>> refresh.

If you are getting old data in the layout but new data in the page
then there is something holding on to the data in the layout.

Are you updating the page using AJAX?
Are you @Persist'ing things in the Layout?

Josh

On Mon, Sep 20, 2010 at 8:18 PM, Fanzhen  wrote:
>
>  just as what you do in your page ,
>
> 1, inject tapestry or spring service which will be used pull data from your
> database or something else;
> 2, define @property or getXXX() method which will be displayed in your
> component tml .
> 3, and at last just use what you have defined in your component .
>
>
> On 2010-9-21 11:09, Josh Canfield wrote:
>>
>> How are you getting the data the data in your layout? Can you provide some
>> code as an example?
>>
>> -- Josh
>>
>> On Sep 20, 2010, at 7:23 PM, Fanzhen  wrote:
>>
>>> Have a layout component which used by pages , and in layout component
>>> there are some data operation related to finding and showing some data from
>>> database.
>>> the problem is that ,
>>> when some operation was done in my page (actually ,updating data in
>>> database),data in page refreshed, but data in layout component don't
>>> refresh.
>>> I mean , is there some way to make layout component refresh  ?
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
--
http://www.bodylabgym.com - a private, by appointment only, one-on-one
health and fitness facility.
--
http://www.ectransition.com - Quality Electronic Cigarettes at a
reasonable price!
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Fanzhen


 hey, friend, I want to know how to get a not cached version of my page

On 2010-9-21 10:45, Thiago H. de Paula Figueiredo wrote:
On Mon, 20 Sep 2010 23:23:21 -0300, Fanzhen  
wrote:


  Have a layout component which used by pages , and in layout 
component there are some data operation related to finding and 
showing some data from database. the problem is that ,
when some operation was done in my page (actually ,updating data in 
database),data in page refreshed, but data in layout component don't 
refresh. I mean , is there some way to make layout component refresh  ?


You don't need to do anything. When some page using your Layout 
component is requested, Tapestry renders your page again, including 
the components it uses. Just make sure you're not getting a cached 
version of your page and that your pages and components correctly pull 
data from the database.





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Fanzhen


 just as what you do in your page ,

1, inject tapestry or spring service which will be used pull data from 
your database or something else;
2, define @property or getXXX() method which will be displayed in your 
component tml .

3, and at last just use what you have defined in your component .


On 2010-9-21 11:09, Josh Canfield wrote:

How are you getting the data the data in your layout? Can you provide some code 
as an example?

-- Josh

On Sep 20, 2010, at 7:23 PM, Fanzhen  wrote:


Have a layout component which used by pages , and in layout component there are 
some data operation related to finding and showing some data from database.
the problem is that ,
when some operation was done in my page (actually ,updating data in 
database),data in page refreshed, but data in layout component don't refresh.
I mean , is there some way to make layout component refresh  ?

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Josh Canfield
How are you getting the data the data in your layout? Can you provide some code 
as an example?

-- Josh

On Sep 20, 2010, at 7:23 PM, Fanzhen  wrote:

> 
> Have a layout component which used by pages , and in layout component there 
> are some data operation related to finding and showing some data from 
> database.
> the problem is that ,
> when some operation was done in my page (actually ,updating data in 
> database),data in page refreshed, but data in layout component don't refresh.
> I mean , is there some way to make layout component refresh  ?
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Sep 2010 23:23:21 -0300, Fanzhen   
wrote:


  Have a layout component which used by pages , and in layout component  
there are some data operation related to finding and showing some data  
from database. the problem is that ,
when some operation was done in my page (actually ,updating data in  
database),data in page refreshed, but data in layout component don't  
refresh. I mean , is there some way to make layout component refresh  ?


You don't need to do anything. When some page using your Layout component  
is requested, Tapestry renders your page again, including the components  
it uses. Just make sure you're not getting a cached version of your page  
and that your pages and components correctly pull data from the database.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



T5 component in page could not refresh when page refresh!

2010-09-20 Thread Fanzhen


 Have a layout component which used by pages , and in layout component 
there are some data operation related to finding and showing some data 
from database.

the problem is that ,
when some operation was done in my page (actually ,updating data in 
database),data in page refreshed, but data in layout component don't 
refresh.

I mean , is there some way to make layout component refresh  ?

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Note on debugging T5.2 apps

2010-09-20 Thread Peter Niederwieser

Just wanted to say that I've found debugging T5.2 apps very difficult
because:

- fields in page classes are null due to the new approach to page sharing
- line numbers in page classes are off (may or may not be related to the
fact that our pages are written in Groovy)

How about enabling page pooling by default in dev mode to get around the
debugging issues?

Cheers,
Peter


-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Note-on-debugging-T5-2-apps-tp2847402p2847402.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Worthy FAQ?: What is the best way to return a zone update and a javascript as response to an XHR request

2010-09-20 Thread Anna Vo
Markus-

You can inject ComponentResources, pass the zoneId and eventlink to
your javascript method with a JSONObject in your javascript
initializer call , and then call the tapestry zone update via client
side javascript.

Example Java Code:

@Inject
private ComponentResources resources;

@Environmental
private JavaScriptSupport javascriptSupport;

@InjectComponent
private Zone yourZone;

void afterRender()
{
Link url = resources.createEventLink("yourMethodName");
JSONObject spec = new JSONObject();
spec.put("zoneId", yourZone.getClientId());
spec.put("url", url.toString());
javascriptSupport.addInitializerCall(InitializationPriority.NORMAL,
"yourJsFunction", spec);
}

Object onYourMethodName()
{
return yourZone.getBody();
}

Example Javascript Code:

Tapestry.Initializer.yourJsFunction = function(spec)
{

var zone = Tapestry.findZoneManagerForZone(spec.zoneId);
zone.updateFromURL(spec.url);

};


You can also observe the Tapestry.ZONE_UPDATED_EVENT in your
javascript by doing this if you wanted to perform a zone update first
and then do some javascript:

$(spec.zoneId).observe(Tapestry.ZONE_UPDATED_EVENT, someJsFunction)



On Mon, Sep 20, 2010 at 3:24 PM, Markus Joschko
 wrote:
> I have a "dialog" on a page which has some eventlinks that are
> triggering serverside actions via ajax requests.
> When some conditions are met, the server will decide to close the
> dialog and update a zone in the page.
> That requires to send the javascript close command and a zone update
> to the browser as response to the event method.
>
> Now I have problems to figure out the best way to do this.
> Although there is the MultiZoneUpdate object I can't use it as the
> RenderCommand that encapsulates the javascript does not work nicely
> with it (leaving the zone name blank gives an error on the
> clientside).
>  I found another approach on the mailinglist that works but it
> involves the PageRenderQueue, which is an internal service.
> Is there a better way to achieve what I want?
>
> Regards,
>  Markus
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Worthy FAQ?: What is the best way to return a zone update and a javascript as response to an XHR request

2010-09-20 Thread Markus Joschko
I have a "dialog" on a page which has some eventlinks that are
triggering serverside actions via ajax requests.
When some conditions are met, the server will decide to close the
dialog and update a zone in the page.
That requires to send the javascript close command and a zone update
to the browser as response to the event method.

Now I have problems to figure out the best way to do this.
Although there is the MultiZoneUpdate object I can't use it as the
RenderCommand that encapsulates the javascript does not work nicely
with it (leaving the zone name blank gives an error on the
clientside).
 I found another approach on the mailinglist that works but it
involves the PageRenderQueue, which is an internal service.
Is there a better way to achieve what I want?

Regards,
 Markus

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: How to import an externally hosted javscript library?

2010-09-20 Thread Michael Taylor
Thank you!  I think that's exactly what I was looking for.

Mike T

On Mon, Sep 20, 2010 at 1:39 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Mon, 20 Sep 2010 14:16:13 -0300, Michael Taylor 
> wrote:
>
>   Greetings Tapestry Users,
>>
>
> Hi!
>
>
>  I’m wondering what is the best way for a component class to import an
>> externally hosted javscript library?
>>
>
> I haven't had the time to play with Tapestry 5.2 yet (sad!), but you can
> get a JavaScriptSupport instance from the environment and then use the
> importJavaScriptLibrary(String libraryURL) to import an arbitrary JavaScript
> file URL.
>
> @Environmental
> private JavaScriptSupport javaScriptSupport;
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: [T5.2] JavaScript combination

2010-09-20 Thread Howard Lewis Ship
Those are great comments; I had thought about imported JS libraries
"dragging in" a stack and I can't remember why I abandoned it. Perhaps
I was trying to be properly agile (don't implement it until there's a
need).

You case is interesting; a piece of code that blindly imports a JS
that is already part of a stack.  And yes, I think you may be right,
that that should trigger an import of the stack itself.

On Mon, Sep 20, 2010 at 6:26 AM, Blower, Andy
 wrote:
> I've created my first stack, and I'm slightly puzzled about the value of this 
> - or maybe I've simply done something wrong.
>
> The stack mechanism doesn't seem to be removing duplicate javascript 
> references as I was expecting it to do. Tapestry JS has always worked on a 
> component requesting the JS assets it needs and then Tapestry ensured that 
> each required JS asset was added to the page only once, even if several 
> components asked for the same JS asset. The stack system doesn't seem to 
> follow this...
>
> For example, say I have a component "Comp" that specifies it needs the 
> "CompJS" asset, and is used on pages "Page1" and "Page2". If Page1 doesn't 
> have much more to it and only needs CompJS then that's what should be 
> included by Tapestry, since Comp @Import's CompJS. All well and good.
>
> Now, if Page2 has a lot of other components with their own JS files which are 
> then combined into a T5 stack and requested by the page's @Import then I 
> would not expect CompJS to be referenced on the page since it's already 
> included in the stack file. It seems to be in T5.2.0 with my testing.
>
> Unless I'm mistaken about how this is working, then I fail to see how this 
> stack mechanism provides much benefit over simply putting all my projects' JS 
> into a single file and referencing that in each page. The only advantage is 
> to split it up into easily editable chunks, I still have to manage the 
> aggregation. I think it's going to be very easy to get duplicate JS in the 
> rendered html page with this system.
>
> Is this working as intended or any I missing something here?
>
> Thanks,
>
> Andy
>
>> -Original Message-
>> From: Blower, Andy [mailto:andy.blo...@proquest.co.uk]
>> Sent: 20 September 2010 11:28
>> To: 'Tapestry users'
>> Subject: RE: [T5.2] JavaScript combination
>>
>>
>>
>> > -Original Message-
>> > From: Howard Lewis Ship [mailto:hls...@gmail.com]
>> > Sent: 17 September 2010 22:31
>> > To: Tapestry users
>> > Subject: Re: [T5.2] JavaScript combination
>> >
>> > On Fri, Sep 17, 2010 at 9:20 AM, Blower, Andy
>> >  wrote:
>> > > A few questions:
>> > >
>> > > Is there any documentation of the new JavaScript combination
>> > functionality added to fix TAP5-769 in 5.2, specifically about
>> stacks?
>> > I can't see any, but before I dive into code/javadoc I thought I'd
>> ask.
>> >
>> > Well, there's JavaDoc.
>> >
>> I will use that then.
>>
>> > >
>> > > Why aren't the prototype & scriptaculous libraries combined into a
>> > stack by default?
>> > >
>> >
>> > They are in production; by default in development the aggregation
>> > logic is turned off, as it makes it much faster/easier to debug on
>> the
>> > client side. There's a symbol you can override to enable aggregation
>> > in development mode.
>>
>> Right, I saw a couple of scriptaculous libraries separate and jumped to
>> a conclusion. Why isn't Tap5.2 using the latest version of
>> scriptaculous?  (1.8.3)
>>
>> > > What's the status of minifying css & js?
>> > >
>> >
>> > No progress on that; concentrating on documentation and getting 5.2
>> > out the door right now.
>>
>> Fair enough
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: How to import an externally hosted javscript library?

2010-09-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Sep 2010 14:16:13 -0300, Michael Taylor   
wrote:



 Greetings Tapestry Users,


Hi!


I’m wondering what is the best way for a component class to import an
externally hosted javscript library?


I haven't had the time to play with Tapestry 5.2 yet (sad!), but you can  
get a JavaScriptSupport instance from the environment and then use the  
importJavaScriptLibrary(String libraryURL) to import an arbitrary  
JavaScript file URL.


@Environmental
private JavaScriptSupport javaScriptSupport;

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



How to import an externally hosted javscript library?

2010-09-20 Thread Michael Taylor
 Greetings Tapestry Users,

I’m wondering what is the best way for a component class to import an
externally hosted javscript library?

I know that if I want to import a JS file from within my own project I can
use the org.apache.tapestry5.annotations.Import annotation, and tapestry
will make sure that the library is included only once on the page no matter
how many times the component might appear.  However as near as I can tell
the Import annotation will only pull in files off the class path.  Is there
a similar functionality I can use to import a JS library hosted on an
external site or do I just include 

RE: [T5.2] JavaScript combination

2010-09-20 Thread Blower, Andy
I've created my first stack, and I'm slightly puzzled about the value of this - 
or maybe I've simply done something wrong.

The stack mechanism doesn't seem to be removing duplicate javascript references 
as I was expecting it to do. Tapestry JS has always worked on a component 
requesting the JS assets it needs and then Tapestry ensured that each required 
JS asset was added to the page only once, even if several components asked for 
the same JS asset. The stack system doesn't seem to follow this...

For example, say I have a component "Comp" that specifies it needs the "CompJS" 
asset, and is used on pages "Page1" and "Page2". If Page1 doesn't have much 
more to it and only needs CompJS then that's what should be included by 
Tapestry, since Comp @Import's CompJS. All well and good.

Now, if Page2 has a lot of other components with their own JS files which are 
then combined into a T5 stack and requested by the page's @Import then I would 
not expect CompJS to be referenced on the page since it's already included in 
the stack file. It seems to be in T5.2.0 with my testing.

Unless I'm mistaken about how this is working, then I fail to see how this 
stack mechanism provides much benefit over simply putting all my projects' JS 
into a single file and referencing that in each page. The only advantage is to 
split it up into easily editable chunks, I still have to manage the 
aggregation. I think it's going to be very easy to get duplicate JS in the 
rendered html page with this system.

Is this working as intended or any I missing something here?

Thanks,

Andy

> -Original Message-
> From: Blower, Andy [mailto:andy.blo...@proquest.co.uk]
> Sent: 20 September 2010 11:28
> To: 'Tapestry users'
> Subject: RE: [T5.2] JavaScript combination
> 
> 
> 
> > -Original Message-
> > From: Howard Lewis Ship [mailto:hls...@gmail.com]
> > Sent: 17 September 2010 22:31
> > To: Tapestry users
> > Subject: Re: [T5.2] JavaScript combination
> >
> > On Fri, Sep 17, 2010 at 9:20 AM, Blower, Andy
> >  wrote:
> > > A few questions:
> > >
> > > Is there any documentation of the new JavaScript combination
> > functionality added to fix TAP5-769 in 5.2, specifically about
> stacks?
> > I can't see any, but before I dive into code/javadoc I thought I'd
> ask.
> >
> > Well, there's JavaDoc.
> >
> I will use that then.
> 
> > >
> > > Why aren't the prototype & scriptaculous libraries combined into a
> > stack by default?
> > >
> >
> > They are in production; by default in development the aggregation
> > logic is turned off, as it makes it much faster/easier to debug on
> the
> > client side. There's a symbol you can override to enable aggregation
> > in development mode.
> 
> Right, I saw a couple of scriptaculous libraries separate and jumped to
> a conclusion. Why isn't Tap5.2 using the latest version of
> scriptaculous?  (1.8.3)
> 
> > > What's the status of minifying css & js?
> > >
> >
> > No progress on that; concentrating on documentation and getting 5.2
> > out the door right now.
> 
> Fair enough
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Is there any way to render the "get" method of form?

2010-09-20 Thread Kristian Marinkovic
hi lutz,

the use of the 'post' method for the form is hardcoded. the easiest way to 
change this is to have some client-side script that rewrites the method 
attribute to 'get'. an alternative you could have a heartbeat that 
rewrites the generated HTML server-side (take a look at the Label 
component for how to use a heartbeat render command)

g,
kris



Von:Lutz Hühnken 
An: Tapestry users 
Datum:  18.09.2010 12:40
Betreff:Re: Is there any way to render the "get" method of form?



I don't understand how this answers the question. I followed all of
the links and could not find instructions how to use the get method in
forms in tapestry. Must have overlooked it.. could you be more
specific maybe?


On Sun, Aug 22, 2010 at 3:03 PM, based2  wrote:
>
> http://www.cgisecurity.com/owasp/html/ch11s04.html
>
> 
http://tapestry.apache.org/tapestry5.0/tapestry-core/guide/beaneditform.html

>
> http://www.seomoz.org/blog/11-best-practices-for-urls
>
> == http://wiki.apache.org/tapestry/Tapestry5HowTos
> == http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
> == http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
>
> --
> View this message in context: 
http://tapestry.1045711.n5.nabble.com/Is-there-any-way-to-render-the-get-method-of-form-tp2643651p2643760.html

> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
altocon GmbH
http://www.altocon.de/
Software Development, Consulting
Hamburg, Germany

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




Re: Radio button and submit

2010-09-20 Thread LLTYK

There's something missing here. How are you submitting the form?
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Radio-button-and-submit-tp5547402p5549978.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: attach a client side xhr form submit listener

2010-09-20 Thread LLTYK

You can listen for the FORM_PREPARE_FOR_SUBMIT_EVENT or
FORM_PROCESS_SUBMIT_EVENT in prototype, for before the zone gets updated. Or
if you use a mixin on the form (or any component in the zone) the mixin
initialization gets run on zone update with the new id.
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/attach-a-client-side-xhr-form-submit-listener-tp5549246p5549966.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



RE: [T5.2] JavaScript combination

2010-09-20 Thread Blower, Andy


> -Original Message-
> From: Howard Lewis Ship [mailto:hls...@gmail.com]
> Sent: 17 September 2010 22:31
> To: Tapestry users
> Subject: Re: [T5.2] JavaScript combination
> 
> On Fri, Sep 17, 2010 at 9:20 AM, Blower, Andy
>  wrote:
> > A few questions:
> >
> > Is there any documentation of the new JavaScript combination
> functionality added to fix TAP5-769 in 5.2, specifically about stacks?
> I can't see any, but before I dive into code/javadoc I thought I'd ask.
> 
> Well, there's JavaDoc.
> 
I will use that then.

> >
> > Why aren't the prototype & scriptaculous libraries combined into a
> stack by default?
> >
> 
> They are in production; by default in development the aggregation
> logic is turned off, as it makes it much faster/easier to debug on the
> client side. There's a symbol you can override to enable aggregation
> in development mode.

Right, I saw a couple of scriptaculous libraries separate and jumped to a 
conclusion. Why isn't Tap5.2 using the latest version of scriptaculous?  (1.8.3)

> > What's the status of minifying css & js?
> >
> 
> No progress on that; concentrating on documentation and getting 5.2
> out the door right now.

Fair enough


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5.1: componentSource with an activation context

2010-09-20 Thread Jack Nuzbit
Thanks Thiago, that's just what I was looking for.

I'm curious about what you're trying to accomplish here. :)
>

I'm essentially trying to build a managed flow of pages. I have some core
workflow functionality but it varies across different apps and would like to
centralise the configuration in a contribution on a per-app basis. Sounds
fun right? :)




On Fri, Sep 17, 2010 at 5:44 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Fri, 17 Sep 2010 12:58:52 -0300, Jack Nuzbit 
> wrote:
>
>  Hi,
>>
>
> Hi!
>
>  Is there a way to create Pages and initialise their activation context at
>> a service level?
>>
>
> I'm curious about what you're trying to accomplish here. :)
>
>
>  Is there a way I can set an activation/event context in this component
>> using existing Tapestry services?
>>
>
> You can try doing exact the same thing components do to trigger events: the
> ComponentResources triggerEvent(...) method in your returned page instance.
> To get the ComponentResources for a given Component, use
> getComponentResources(). Never tried it myself, though.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: My mails are rejected

2010-09-20 Thread Ulrich Stärk
Try to explicitly send as plain-text. Could be that your mail client sends as HTML in response to 
existing threads.


Uli

On 18.09.2010 16:47, Igor Drobiazko wrote:

Hm, this one was not rejected. I cannot reply to mails in the other thread.

On Sat, Sep 18, 2010 at 4:45 PM, Igor Drobiazkowrote:


Looks like a cannot send mails to the list. My mails are considered as
spam. Is anybody getting the following messages?

Delivery to the following recipient failed permanently:

 users@tapestry.apache.org

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient
domain. We recommend contacting the other email provider for further
information about the cause of this error. The error that the other server
returned was: 552 552 spam score (6.0) exceeded threshold (state 18).

--
Best regards,

Igor Drobiazko
http://tapestry5.de







-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org