Tapestry - ChenilleKit - DatePicker

2009-12-01 Thread vos

Hi,
I am using the chenilleKit DatePicker : 
here is the demo page :
http://www.chenillekit.org/demo/tapcomp/datetimefielddemo
There is a problem when we resize the window, the calendar image also moves.
How can i fix the position ?
Thanks by advance.


-- 
View this message in context: 
http://old.nabble.com/Tapestry---ChenilleKit---DatePicker-tp26590677p26590677.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



AribaWeb

2009-12-01 Thread Joel Halbert
Any T5 users ever heard of AribaWeb. Any opinions of it?
http://aribaweb.org/

I'm just curious, I'd never heard of it until today.



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



RE: AribaWeb

2009-12-01 Thread Andy Clayton
Hi

Are there any T5 developers available at the moment for a new project in 
Berlin? Should take about 3 months.

-Original Message-
From: Joel Halbert [mailto:j...@su3analytics.com] 
Sent: 01 December 2009 12:04
To: users@tapestry.apache.org
Subject: AribaWeb

Any T5 users ever heard of AribaWeb. Any opinions of it?
http://aribaweb.org/

I'm just curious, I'd never heard of it until today.



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


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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



sIFR and Tapestry 5

2009-12-01 Thread kevin98

I am trying to implement sIFR within a Tapestry 5 project.  Has anyone
successfully done this and if so could you please point me to any
documentation, how-tos, etc.?  In addition, if there are any gotchas that
I should watch out for, please let me know.  

Many Thanks,

Kevin
-- 
View this message in context: 
http://old.nabble.com/sIFR-and-Tapestry-5-tp26596736p26596736.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



Help with HttpRequest Handling

2009-12-01 Thread Ashwanth Kumar
Hi,

I want to write a simple component, which will say the number of users
online! But, to do, that i need to access the non-threaded version of
HttpServletRequest of the Tapestry servlet, how do i do that? Please help
me!

 - Ashwanth


Re: Help with HttpRequest Handling

2009-12-01 Thread Thiago H. de Paula Figueiredo
Em Tue, 01 Dec 2009 23:59:48 -0200, Ashwanth Kumar  
ashwanth.ku...@gmail.com escreveu:



Hi,


Hi!


I want to write a simple component, which will say the number of users
online! But, to do, that i need to access the non-threaded version of
HttpServletRequest of the Tapestry servlet, how do i do that? Please help
me!


Some points:

1) Tapestry is a servlet filter, not a servlet.

2) There isn't a non-threaded version of HttpServletRequest, as it is  
created for every request received.


3) As far as I know, it's not possible to count the number of concurrent  
users without using the session, as HTTP is a stateless protocol. You'll  
need to count open sessions. To do that, you'll need a service to hold the  
number of open sesions and an HttpSessionListener.


I hope I gave you some pointers.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, 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: jQuery.noConflict() not working

2009-12-01 Thread alanearl


Try to visit these site:

http://docs.jquery.com/Using_jQuery_with_Other_Libraries

It can help a lot.


Inge Solvoll-2 wrote:
 
 Nice, thanks!
 
 It actually worked putting jquery-core.js before all other scripts. It is
 strange, because I have a Struts page with a very similar setup, both
 prototype and jQuery included and prototype first, and it has no errors in
 IE8...
 
 Thiago: I'm also using a jQuery plugin (jQuery UI datepicker). But my
 plugin
 works nicely without any $ replacements.
 
 Thanks again for great help!
 
 Inge
 
 On Thu, Nov 26, 2009 at 5:07 PM, Jim O'Callaghan
 jc1000...@yahoo.co.ukwrote:
 
 I see there's another response already that may indicate the problem lies
 elsewhere but just in case you do want to reorder the included files ...

 ... can you contribute and use a custom ClientInfrastructure containing a
 list for the javascriptStack, add jQuery.js first to your list, and then
 add
 the existing clientInfrastructure javascriptStack?  I used a variation of
 this solution from elsewhere on the mailing list to get around a
 blackbird
 issue I was having.

 ... in AppModule ...
   public ClientInfrastructure
 decorateClientInfrastructure(ClientInfrastructure original) {
  return new MyClientInfrastructure(original);
  }

 ... MyClientInfrastructure.java (untested so probably some syntax errors)
 ...

 public class MyClientInfrastructure implements ClientInfrastructure {
ClientInfrastructure clientInfrastructure;
List javascriptStack = new ArrayList();

public MyClientInfrastructure(ClientInfrastructure
 clientInfrastructure)
 {
this.clientInfrastructure = clientInfrastructure;
javascriptStack.add(asset for jQuery);
   
 javascriptStack.addAll(this.clientInfrastructure.getJavascriptSt
 ack());
}

public ListAsset getJavascriptStack() {
return javascriptStack;
}

public ListAsset getStylesheetStack() {
return clientInfrastructure.getStylesheetStack();
}

 HTH.

 Regards,
 Jim.

 -Original Message-
 From: Inge Solvoll [mailto:inge.tapes...@gmail.com]
 Sent: 26 November 2009 15:42
 To: Tapestry users
 Subject: jQuery.noConflict() not working


 Hi!

 Sorry for going a little bit OT here, but this is kinda T5-specific too.

 I'm trying to use jQuery together with prototype in T5. It works nicely
 in
 firefox, but in IE8, I get a lot of object not supported, line 4821 and
 so
 on. If I remove the reference to jQuery, everything works again. I did
 include a call to jQuery.noConflict() a the end of the jQuery js-file.

 I'm guessing that it would work including jQuery BEFORE prototype, as
 prototype would overwrite everything that's been done by jQuery, and
 jQuery
 doesn't have a problem with that, using a different alias instead. Does
 anyone have nice approach for making T5 include jQjery.js before
 prototype.js?


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


 
 

-- 
View this message in context: 
http://old.nabble.com/jQuery.noConflict%28%29-not-working-tp26531246p26601658.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: Help with HttpRequest Handling

2009-12-01 Thread Ashwanth Kumar
Thiago,

Thanks for the reply. As u said, i did use sessions. But my problem, how am
i to access it? I mean, if i use RequestGlobals, i get per request session.
And, if i use Request service also, i get the same thing! How am i access
it? (Actually thats wat i tired to mean by non-threaded stuff, sorry!)

 - Ashwanth

On Wed, Dec 2, 2009 at 7:55 AM, Thiago H. de Paula Figueiredo 
thiag...@gmail.com wrote:

 Em Tue, 01 Dec 2009 23:59:48 -0200, Ashwanth Kumar 
 ashwanth.ku...@gmail.com escreveu:

  Hi,


 Hi!

  I want to write a simple component, which will say the number of users
 online! But, to do, that i need to access the non-threaded version of
 HttpServletRequest of the Tapestry servlet, how do i do that? Please help
 me!


 Some points:

 1) Tapestry is a servlet filter, not a servlet.

 2) There isn't a non-threaded version of HttpServletRequest, as it is
 created for every request received.

 3) As far as I know, it's not possible to count the number of concurrent
 users without using the session, as HTTP is a stateless protocol. You'll
 need to count open sessions. To do that, you'll need a service to hold the
 number of open sesions and an HttpSessionListener.

 I hope I gave you some pointers.


 --
 Thiago H. de Paula Figueiredo
 Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
 and instructor
 Owner, software architect and developer, 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: What is NOT beautiful about Tapestry?

2009-12-01 Thread alanearl

Yup, its true the only problem of Tapestry 5.
It lacks full documents that can help many newbies
to learn this framework.

As long as its FREE I will be a Tapestry lover...
Not all things in this world is EASY!



Newham, Cameron wrote:
 
 3) Documentation - Good solid reference examples of how to do do simple
 apps, explained in detail. Most developers want a framework to be like
 lego
 building blocks. I do A, B, C and D and I get E. I assemble a dozen
 different pieces and I have my app. Really how complicated are most web
 apps? They are forms and workflow and validation.  To get developers to
 use
 your framework you need good examples of how to do each, laid out and
 described in simple guaranteed to work steps. There need to be examples
 of
 these  in both Netbeans and Eclipse; preferably several examples of
 each.
 
 ---
 
 All good points, but this above all others I think. Developers never
 seem to fully appreciate this - or if they do, they make it a lesser
 priority.
 
 Documentation is critical. It doesn't matter how good something is (and
 that those in the know know it), it's rendered useless if the
 documentation doesn't exist or is not up to scratch. Tapestry 5
 documentation is not up to scratch. I'll repeat that: Tapestry 5
 documentation is not up to scratch.
 
 Why?
 
 Unfortunately there are a plethora of places to look in if you want to
 find how to do something. It's not only annoying for people who are
 developing in Tapestry, it is off-putting to new developers who are
 looking at this as a possible solution to a development problem.
 
 We've now reached a stage in web development where things should be easy
 to put together (Lego building blocks). I used to hate web development
 and Tapestry 3 was the first thing I found which helped me dislike it a
 lot less. Tapestry 5 even more so. However, having no good set of
 central documentation, how-tos, cookbook solutions, etc makes the
 development process that much harder and not like Lego blocks. I really
 only want to have to think about business logic and know only the basics
 of how Tapestry works. Turning to the source code should be a last
 resort and I've had to do that once so far with Tapestry 5 because the
 documentation I required was inadequate (can't remember what it was now,
 but it wasn't even anything exotic I was trying to do!)
 
 That said, I think this mailing list is fantastic and has certainly
 ridden to my rescue on numerous occasions. The only off-putting thing is
 the fear of asking the dumb question. Sure, no questions are dumb, but
 I always feel a lot better if I know I've made an effort to find out how
 to do something before asking on here. Again, lack of good docs makes
 that effort so much harder and also increases the traffic on here by the
 same questions being asked multiple times.
 
 **
  
 Experience the British Library online at www.bl.uk
  
 The British Library's new interactive Annual Report and Accounts 2007/08 :
 www.bl.uk/knowledge
  
 Help the British Library conserve the world's knowledge. Adopt a Book.
 www.bl.uk/adoptabook
  
 The Library's St Pancras site is WiFi - enabled
  
 *
  
 The information contained in this e-mail is confidential and may be
 legally privileged. It is intended for the addressee(s) only. If you are
 not the intended recipient, please delete this e-mail and notify the
 postmas...@bl.uk : The contents of this e-mail must not be disclosed or
 copied without the sender's consent. 
  
 The statements and opinions expressed in this message are those of the
 author and do not necessarily reflect those of the British Library. The
 British Library does not take any responsibility for the views of the
 author. 
  
 *
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/T5%3A-What-is-NOT-beautiful-about-Tapestry--tp23304774p26603363.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



IOC Service Survey

2009-12-01 Thread Yeargan Yancey
I have a largely academic interest in Tapestry and have been following the list 
for several months. I have seen many discussions go by about the technical 
issues of implementing and using Tapestry IOC services. Recently, however, I 
began to develop a persistent and growing curiosity about the sorts of tasks 
that seasoned Tapestry developers decide to implement as IOC services; being 
especially curious about complex combinations of such services. I suspect some 
have come up with quite clever solutions and are just dying to share. Here's 
your chance. I'm asking. What is it that your IOC services do?
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: IOC Service Survey

2009-12-01 Thread Howard Lewis Ship
Outside of framework building (of course) my more mundane tasks:

Building DAO services around Hibernate, to reduce code clutter.

Building a deferred job execution service, to process operations in
the background.

Integrating with significant subsystems, like Quartz.

Creating tools to allow page content to be rendered and sent as email.

What I like about the IoC approach is that you naturally tend to
decompose things properly (or at least, it gives you the option). That
mail sending bit is in two pieces: one that's mostly about Tapestry:
rendering a Block, capturing the result, then deferring to a second
service to do the actual mailing. The second service is a wrapper
around javax.mail.Session and Transport, and encapsulates those two
ugly APIs. The job executor allows the app to continue running, with
the mail sending deferred to a pooled thread.

IoC means you can easily break your problems into small and
individually testable pieces, and isolate difficult external
dependencies ... and the container is responsible for assembling
everything at runtime.

On Tue, Dec 1, 2009 at 9:30 PM, Yeargan Yancey yan...@unt.edu wrote:
 I have a largely academic interest in Tapestry and have been following the 
 list for several months. I have seen many discussions go by about the 
 technical issues of implementing and using Tapestry IOC services. Recently, 
 however, I began to develop a persistent and growing curiosity about the 
 sorts of tasks that seasoned Tapestry developers decide to implement as IOC 
 services; being especially curious about complex combinations of such 
 services. I suspect some have come up with quite clever solutions and are 
 just dying to share. Here's your chance. I'm asking. What is it that your IOC 
 services do?
 -
 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