Re: ApacheCon Europe

2014-12-08 Thread Howard Lewis Ship
By contrast; the Clojure/Conj and Strange Loop conferences are getting
videos up on the same day as the talk!  Strange Loop even had a
stenographer doing live subtitles.

On Sun, Dec 7, 2014 at 8:09 AM, Thilo Tanner thilo.tan...@reprisk.com
wrote:

 Hi,

 Unfortunately not. They recorded audio, but not video and as far as I
 know, the recordings cannot be downloaded.

 Best regards,
 Thilo



 Am 05.12.14 21:44 schrieb pico.dev unter pico@gmail.com:

 Hi,
 
 Is there any video available of the presentations? I'd like to watch them
 
 Best regards,
 
 2014-11-27 10:33 GMT+01:00 Thilo Tanner thilo.tan...@reprisk.com:
 
  Hi folks,
 
  Uli and myself gave our best to promote Tapestry on ApacheCon Europe in
  Budapest last week. Unfortunately, most people were more interested in
  buzzword technologies, in particular in the Hadoop ecosystem. Don’t get
 me
  wrong, Hadoop is a good technology if you have a real use case for it,
 but
  my impression was, that if, only a handful of attendees really deal with
  big data. This is a bit sad, especially because the few people attended
  our talks were very impressed what Tapestry is capable of and praised
 the
  big potential of the framework. Therefore a big thank you from my side
 to
  the people that put their effort into Tapestry! I’m still convinced that
  Tapestry is one of the best (web) application frameworks out there.
 
  In case you’re interested, below the link to my slides:
 
 
 
 http://events.linuxfoundation.org/sites/events/files/slides/141109_Tapest
 ry
  _Talk_0.pdf
 
 
 http://events.linuxfoundation.org/sites/events/files/slides/141109_Tapes
 try_Talk_0.pdf
 
  Best,
  Thilo
 
 




-- 
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
@hlship


Check if asset exists

2014-12-08 Thread Nathan Quirynen
Hey,

When loading an asset with AssetSource.getContextAsset(path, locale) it
will throw a RuntimeException if the file doesn't exist. But what if I
want to load the asset only if it exists?
Is there a method anywhere that can check if an asset exists? I could
wrap it with a try catch, but that doesn't seem a clean solution here.

Thanks,
Nathan


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



Re: Check if asset exists

2014-12-08 Thread Nathan Quirynen
I found a solution for my case:

AssetSource.resourceForPath(context:+path).exists()

On 08/12/14 17:32, Nathan Quirynen wrote:
 Hey,

 When loading an asset with AssetSource.getContextAsset(path, locale) it
 will throw a RuntimeException if the file doesn't exist. But what if I
 want to load the asset only if it exists?
 Is there a method anywhere that can check if an asset exists? I could
 wrap it with a try catch, but that doesn't seem a clean solution here.

 Thanks,
 Nathan


 -
 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: File selected for upload is cleared when page validation fails [T5.4]

2014-12-08 Thread martijn.list
On 12/06/2014 06:21 PM, Howard Lewis Ship wrote:
 It's a very deliberate security design implement by all browsers otherwise
 a invisible hidden form field could read any file on your filesystem

Yes you are completely right.

Note to self: don't ask question if you are too tired to think

Kind regards,

Martijn


 
 On Friday, December 5, 2014, Thiago H de Paula Figueiredo 
 thiag...@gmail.com wrote:
 
 On Fri, 05 Dec 2014 16:41:55 -0200, martijn.list martijn.l...@gmail.com
 wrote:

  Hi,


 Hi!

  I have a form which contains an Upload component and some other fields.

 If I select a file for upload and submit the form and the page
 validation fails (for example because I forgot to fill in some required
 field), the selected file is no longer selected.

 Is this by design? The other fields are retained on a validation error.


 This is how HTML's input type=file works. It doesn't allow you to give
 it an initial value.

 --
 Thiago H. de Paula Figueiredo
 Tapestry, Java and Hibernate consultant and developer
 http://machina.com.br

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


 


-- 
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

http://www.ciphermail.com

Twitter: http://twitter.com/CipherMail

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



[T5.4] Problem with large file downloads and tapestry.session-locking-enabled

2014-12-08 Thread martijn.list
Hi,

With tapestry.session-locking-enabled set to true downloading large
files (which take a while to download) result in lock-ups. If for
example I click a download link in Chrome and then immediately click
another download link (while the other download is still in progress),
the second file is not downloaded until the other download has finished.
With large files this can result in Chrome being unable to open any more
pages after trying to download a couple of (large) files. If I disable
tapestry.session-locking-enabled, everything seems to be working fine,
i.e., multiple downloads can be done in parallel.

I'm not sure whether this is some side effect of using T 5.4 in
combination with Spring security but it might be that other users
experience the same problem.

Is this a consequence of the tapestry.session-locking-enabled opion? or
is this a bug (in either 5.4b22 of my own code)?

Kind regards,

Martijn Brinkers


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



eliminate render blocking javascript and css above the fold content

2014-12-08 Thread George Christman
This seems to be an improvement google webmaster is requesting, is it
possible and if so how would you go about getting it working?


problem with rich text editor

2014-12-08 Thread nn kk
 Hi everyone,
I'm using tynamo rich text area (tapestry-ckeditor-0.0.1.jar) I also use 
tapestry-jquery-3.4.1
I have a js error: document.observe is not a function. It looks like jquery 
breaks prototype, how can I fix this?

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



Re: problem with rich text editor

2014-12-08 Thread Basile Chandesris

Le 08/12/14 22:56, nn kk a écrit :

  Hi everyone,
I'm using tynamo rich text area (tapestry-ckeditor-0.0.1.jar) I also use 
tapestry-jquery-3.4.1
I have a js error: document.observe is not a function. It looks like jquery 
breaks prototype, how can I fix this?

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



 CKEditor 4.4.6 http://ckeditor.com/release/CKEditor-4.4.6

Download .zip 
http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.4.6/ckeditor_4.4.6_standard.zip 
or .gzip 
http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.4.6/ckeditor_4.4.6_standard.tar.gz


*Security Updates:*

 *

   Fixed XSS vulnerability in the HTML parser reported by Maco Cortes
   https://www.facebook.com/Maaac.

   Issue summary: It was possible to execute XSS inside CKEditor after
   persuading the victim to: (i) switch CKEditor to source mode, then
   (ii) paste a specially crafted HTML code, prepared by the attacker,
   into the opened CKEditor source area, and (iii) switch back to
   WYSIWYG mode.

*An upgrade is highly recommended!
*

http://ckeditor.com/whatsnew
http://en.wikipedia.org/wiki/CKEditor#Vulnerabilities

https://github.com/tynamo/tapestry-ckeditor/tree/master/src/main/resources/org/tynamo/ckeditor
https://github.com/plannowtech/tapestry5-ckeditor/tree/master/src/main/resources/com/plannow/tapestry5/ckeditor/mixins/ckeditor


Re: problem with rich text editor

2014-12-08 Thread Basile Chandesris

Le 08/12/14 22:56, nn kk a écrit :

  Hi everyone,
I'm using tynamo rich text area (tapestry-ckeditor-0.0.1.jar) I also use 
tapestry-jquery-3.4.1
I have a js error: document.observe is not a function. It looks like jquery 
breaks prototype, how can I fix this?

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




Maybe this will help: http://tapestry.apache.org/javascript-faq.html

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



Re: eliminate render blocking javascript and css above the fold content

2014-12-08 Thread Howard Lewis Ship
Tapestry puts all of its main JavaScript at the bottom of the page. It
includes a tiny amount of JavaScript at the top of the page, to introduce
an element that prevents unwanted user input until the page is fully
loaded. On newer browsers, it will animate in a translucent overlay and a
cycling loading image ... all of which is removed once the page is ready
for operation (after all JavaScript has been loaded and executed). Most
users won't notice it, and it barely affects page load speed, but is very
handy!

On Mon, Dec 8, 2014 at 12:26 PM, George Christman gchrist...@cardaddy.com
wrote:

 This seems to be an improvement google webmaster is requesting, is it
 possible and if so how would you go about getting it working?




-- 
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
@hlship


Re: eliminate render blocking javascript and css above the fold content

2014-12-08 Thread George Christman
After digging a little deeper, it looks like it's complaining about css

Your page has 8 blocking CSS resources. This causes a delay in rendering
your page.
None of the above-the-fold content on your page could be rendered without
waiting for the following resources to load. Try to defer or asynchronously
load blocking resources, or inline the critical portions of those resources
directly in the HTML.
Optimize CSS Delivery
https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery of
the following:

   - …f5/tapestry5/bootstrap/css/bootstrap.css
   - …ts/meta/za327fba4/tapestry5/tapestry.css
   - …/z46ba6ee5/tapestry5/exception-frame.css
   - …z9cac79b1/tapestry5/tapestry-console.css
   - …/assets/meta/z123f049/tapestry5/tree.css
   - …uto/assets/meta/zdf3b597a/css/layout.css
   - …to/assets/meta/z1a175d43/css/desktop.css
   - …ets/meta/core/z4225cc8a/Autocomplete.css

Is there away to remove the Tapestry css files?


On Mon, Dec 8, 2014 at 6:23 PM, Howard Lewis Ship hls...@gmail.com wrote:

 Tapestry puts all of its main JavaScript at the bottom of the page. It
 includes a tiny amount of JavaScript at the top of the page, to introduce
 an element that prevents unwanted user input until the page is fully
 loaded. On newer browsers, it will animate in a translucent overlay and a
 cycling loading image ... all of which is removed once the page is ready
 for operation (after all JavaScript has been loaded and executed). Most
 users won't notice it, and it barely affects page load speed, but is very
 handy!

 On Mon, Dec 8, 2014 at 12:26 PM, George Christman gchrist...@cardaddy.com
 
 wrote:

  This seems to be an improvement google webmaster is requesting, is it
  possible and if so how would you go about getting it working?
 



 --
 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
 @hlship




-- 
George Christman
CEO
www.CarDaddy.com
P.O. Box 735
Johnstown, New York


5.4 asset expire header

2014-12-08 Thread George Christman
Hi, I'm using 5.4 and google is complaining the expiry date for http
headers hasn't been set. I found the following info, but it's still unclear
how to resolve this issue.

Returns a URL that can be passed, unchanged, to the client in order for it
to access the resource. The same value is returned from toString().

Tapestry's built-in asset types (context and classpath) always incorporate
a checksum as part of the path, and alternate implementations are
encouraged to do so as well. In addition, Tapestry ensures that context and
classpath assets have a far-future expires header (to ensure aggressive
caching by the client).

Note that starting in Tapestry 5.4, it is expected that Asset instances
recognize when the underlying Resource's content has changed, and update
the clientURL to reflect the new content's checksum. This wasn't an issue
in earlier releases where the clientURL incorporated a version number.

Finally, starting in 5.4, this value will often be *variant*: the exact URL
returned will depend on whether the underlying resource content is
compressable, whether the current Request
http://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/services/Request.html
supports compression.





-- 
George Christman
CEO
www.CarDaddy.com
P.O. Box 735
Johnstown, New York


Re: eliminate render blocking javascript and css above the fold content

2014-12-08 Thread George Christman
nvm, figured it out

@Contribute(JavaScriptStack.class)
@Core
public static void
setupCoreJavaScriptStack(OrderedConfigurationStackExtension
configuration) {
configuration.override(exception-frame.css, null);
configuration.override(tapestry.css, null);
configuration.override(tapestry-console.css, null);
configuration.override(tree.css, null);
}

On Mon, Dec 8, 2014 at 6:55 PM, George Christman gchrist...@cardaddy.com
wrote:

 After digging a little deeper, it looks like it's complaining about css

 Your page has 8 blocking CSS resources. This causes a delay in rendering
 your page.
 None of the above-the-fold content on your page could be rendered without
 waiting for the following resources to load. Try to defer or asynchronously
 load blocking resources, or inline the critical portions of those resources
 directly in the HTML.
 Optimize CSS Delivery
 https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery
 of the following:

- …f5/tapestry5/bootstrap/css/bootstrap.css
- …ts/meta/za327fba4/tapestry5/tapestry.css
- …/z46ba6ee5/tapestry5/exception-frame.css
- …z9cac79b1/tapestry5/tapestry-console.css
- …/assets/meta/z123f049/tapestry5/tree.css
- …uto/assets/meta/zdf3b597a/css/layout.css
- …to/assets/meta/z1a175d43/css/desktop.css
- …ets/meta/core/z4225cc8a/Autocomplete.css

 Is there away to remove the Tapestry css files?


 On Mon, Dec 8, 2014 at 6:23 PM, Howard Lewis Ship hls...@gmail.com
 wrote:

 Tapestry puts all of its main JavaScript at the bottom of the page. It
 includes a tiny amount of JavaScript at the top of the page, to introduce
 an element that prevents unwanted user input until the page is fully
 loaded. On newer browsers, it will animate in a translucent overlay and a
 cycling loading image ... all of which is removed once the page is ready
 for operation (after all JavaScript has been loaded and executed). Most
 users won't notice it, and it barely affects page load speed, but is very
 handy!

 On Mon, Dec 8, 2014 at 12:26 PM, George Christman 
 gchrist...@cardaddy.com
 wrote:

  This seems to be an improvement google webmaster is requesting, is it
  possible and if so how would you go about getting it working?
 



 --
 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
 @hlship




 --
 George Christman
 CEO
 www.CarDaddy.com
 P.O. Box 735
 Johnstown, New York




-- 
George Christman
CEO
www.CarDaddy.com
P.O. Box 735
Johnstown, New York