Re: [OpenLayers-Users] dragmakerer

2007-11-02 Thread Paul Stanton
Thanks Tim, Believe me I would if I could find time! I've noticed the drag marker demo does not work whatsoever in IE 6, however the drag feature one does. Is this due to recieve any attention soon or should I look into using the drag feature code instead? Obviously I understand that you

General question regarding Web 2.0 and Tapestry

2007-11-02 Thread Ravi Shankar
Folks, I am still new to Tapestry and evaluating 4.1.3 version as of today. I am curious to know if any of you - or know someone/somewhere - that uses Tapestry for web 2.0 business application, notably B2B application. If you can share your experience or point me to the relevant place, I will be

Submitting Html Form is not working properly in Tapestry 5

2007-11-02 Thread Imran Amajd
Hello EveryBody, I am using Tapestry 5. Problem: There is a submit button attached with listener (say OnSave()) and a text field after the Submit button on html form. like form input jwcid=@Submit input jwcid=@TextField value=ognl:className.textValue /form when i submit this form, the

Getting BigDecimal Translator to work

2007-11-02 Thread rkalsi
I have written a BigDecimal translator which converts String - BigDecimal, but It doesnt seem to work. In my class, I have added the following: public static void contributeTranslatorDefaultSource( MappedConfigurationClass, Translator configuration) {

Re: General question regarding Web 2.0 and Tapestry

2007-11-02 Thread Angelo Chen
Hi, Same as you, no idea at all about this web 2.0. came from c/s world hoping web 2.0 can help in developing c/s like app, and after a while, found out that a server framework like T5, Javascript(or better a library like jQuery), html/css/DOM, plus the browser's capability to do background

Re: T5 book: update

2007-11-02 Thread Howard Lewis Ship
On Nov 1, 2007 2:37 AM, Kolesnikov, Alexander GNI [EMAIL PROTECTED] wrote: The book is not ready yet. I had to completely rewrite chapter 5 upgrading it to 5.0.6 as Grid and BeanEditForm are so much easier to deal with now. If everything goes well, the book should become available in

Re: how to translate input into double/float value

2007-11-02 Thread Imran Amajd
How can we add DoubleTranslator.java into Existing application?? Thanks. Nick Westgate wrote: You provide a translator. The framework provides one for Double etc: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/translator/ You can

Re: General question regarding Web 2.0 and Tapestry

2007-11-02 Thread Ravi Shankar
I don't have a clear definition of web 2.0. THis is what wiki says Web 2.0 websites typically include some of these features: * Rich Internet application techniques, often Ajax-based * Semantically valid XHTML and HTML markup * Microformats enriching pages with additional semantics

Re: T5: component expansion unexpected

2007-11-02 Thread Nick Westgate
You are ending the a element before the inner img (etc) renders. Instead, you should end the writer in afterRender: void afterRender(MarkupWriter writer) { writer.end(); // a } The corelib components are good examples to copy. Cheers, Nick. Angelo Chen wrote: Hi, I have

T5: component expansion unexpected

2007-11-02 Thread Angelo Chen
Hi, I have a component : public class ImgDlg2 { @Parameter(required=true) private String _path; boolean beginRender(MarkupWriter writer) { if (_path != null) writer.element(a, href, _path); else writer.element(a, href, #); writer.end(); return true;

Re: General question regarding Web 2.0 and Tapestry

2007-11-02 Thread Angelo Chen
hi, if web 2.0 means those interactive websites, then Tapestry 5 plus a javascript framework like jQuery or Ext can do that. Ravi Shankar-9 wrote: Folks, I am still new to Tapestry and evaluating 4.1.3 version as of today. I am curious to know if any of you - or know someone/somewhere -

Re: Submitting Html Form is not working properly in Tapestry 5

2007-11-02 Thread Nick Westgate
I am using Tapestry 5. I don't think so. Your code is using Tapestry 4 syntax. Cheers, Nick. Imran Amajd wrote: Hello EveryBody, I am using Tapestry 5. Problem: There is a submit button attached with listener (say OnSave()) and a text field after the Submit button on html form. like

[Tap 4.1.3] multiple ognl evaluation problem (was Re: [Tap 4.1.2] Problem with repeated calls to an If component)

2007-11-02 Thread Aaron Kaminsky
Hi all, I am on Tap 4.1.3 (using the released binary) and I am also experiencing this behavior. I cannot find any documentation on this situation or a workaround other than Jesse's comments in this thread. Can someone point me to more information on how to work around this multiple ognl

[T5] BeanModel and null values

2007-11-02 Thread Kevin Menard
Hi all, I'm working with the Grid component and customizing the BeanModel for display. I'd like to show complex paths in the grid. So, I've added them to the model and everything works well, except when there's a null somewhere along the path. Then in get an NPE in the ConduitWrapper. How

ContextResource getPath()

2007-11-02 Thread Kevin Menard
Hi, Is there any particular reason that ContextResource's getPath() returns a relative path rather than an absolute one? In T4, I'm used to using assets as way to build safe links to resources. With ContextResource's getPath() returning relative paths, however, that doesn't work. I've wrapped

T5: passing values between layout component and page

2007-11-02 Thread ronaldlee
Hi, I am building a page using layout component so that the layout can be shared among other pages. The question I have is that I want my layout component (lets say /layout/Basic.tml) to have access to page params/variables. A simple example would be that I have a UserProfile page which uses a

Re: T5: passing values between layout component and page

2007-11-02 Thread Angelo Chen
hi ronaldlee, you can pass the user name from the UserProfile page to the layout component, something like this: public class Layout { @parameter private String userName; // getter/setter here } in UserProfile.tml: t:layout userName =literal:my name

Re: T5: passing values between layout component and page

2007-11-02 Thread Marcus
Hi Ronald, You can declare same ASO(ApplicationStateObject) in both java classes, passing any values between any components. Basic.java and UserProfile.java ... @ApplicationState private Visit _visit; ... getters and setters Basic.tml ... ${visit.username} Marcus

Re: T5: passing values between layout component and page

2007-11-02 Thread ronaldlee
Thx Angelo. This seems to make sense, but I cannot make it to work.. will try more. Ronald Angelo Chen wrote: hi ronaldlee, you can pass the user name from the UserProfile page to the layout component, something like this: public class Layout { @parameter private String

Re: T5: passing values between layout component and page

2007-11-02 Thread ronaldlee
Oh nevermind, it works now.. stupid browser still caching the old page. thx a lot! ronaldlee wrote: Thx Angelo. This seems to make sense, but I cannot make it to work.. will try more. Ronald Angelo Chen wrote: hi ronaldlee, you can pass the user name from the UserProfile page

Re: T5 book: update

2007-11-02 Thread Eko S.W.
Oh yeah, I am sorry though May the book bring light on Tap. -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/