Re: Grid sorting - lowercase,uppercase

2011-10-12 Thread darkslide
Hi, thanks a lot for help. A work with Tapestry sucks. It is a framework for school projects or for simple situation like click on button and see page with text "HELLO WORLD" Have a nice day. BR Lukas -- View this message in context: http://tapestry.1045711.n5.nabble.com/Grid-sorting-lowercase

Re: Bootstrap

2011-10-12 Thread Steve Eynon
Wow - I've just taken a glimse at Bootstrap and it's gotten me very excited! Time to re-read the "Compiled CSS" thread! I actually been waiting for something like Less for at least a decade - but since it's arrival I've been put off trying it by the pre-process compile stage (the on-the-fly javas

Re: Is any chart components

2011-10-12 Thread Thiago H. de Paula Figueiredo
On Wed, 12 Oct 2011 23:03:11 -0300, dick_hu wrote: I want to write a comonents about chart,but I have no idea, Has anyone the chart components? Taha Hafeez tells you how: http://tawus.wordpress.com/2011/07/30/tapestry-jfreechart-integration/. Wow, I haven't noticed before that it evens sh

Is any chart components

2011-10-12 Thread dick_hu
I want to write a comonents about chart,but I have no idea, Has anyone the chart components? Thanks for help -- View this message in context: http://tapestry.1045711.n5.nabble.com/Is-any-chart-components-tp4897742p4897742.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: @Scope

2011-10-12 Thread Howard Lewis Ship
Tapestry's style of injection is somewhat orthogonal to Spring's. Tapestry will want to create a proxy and, with a contribution like Thiago says, instantiate a new instance for each method invocation. That's probably not what you want, in which case, you should use an explicit factory service, so y

Re: @Scope

2011-10-12 Thread Thiago H. de Paula Figueiredo
On Wed, 12 Oct 2011 18:28:06 -0300, Tony Nelson wrote: This particular service could have just as easily been a pojo. I'm converting a tapestry4/spring application to tapestry5 and I'm trying to leave spring behind. As a spring bean this object was simply declared with scope="prototype

Re: Bootstrap

2011-10-12 Thread Howard Lewis Ship
I think it's a good idea; what's the license? On Wed, Oct 12, 2011 at 2:15 PM, Denis Stepanov wrote: > Hello, > > how many of you know Bootstrap http://twitter.github.com/bootstrap/, a css > toolkit designed to kickstart development of webapps and sites from Twitter? > > I just had an idea that

Re: JPA again

2011-10-12 Thread Christine
On 10/12/2011 04:49 PM, Serge Eby wrote: Hi, Look for JPA here: http://tapestry5.de/ Thank you. Actually, that is the sample I am using. HTH, /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/JPA-again-tp6885036p6885313.html Sent from the Tapestry Users mailing

Re: @Scope

2011-10-12 Thread Tony Nelson
This particular service could have just as easily been a pojo. I'm converting a tapestry4/spring application to tapestry5 and I'm trying to leave spring behind. As a spring bean this object was simply declared with scope="prototype" which gave me a new instance of the object every time I acc

Re: @Scope

2011-10-12 Thread Cezary Biernacki
Hi, you can inject ObjectLocator and call 'autobuild' to create a new instance when needed. So instead of @Inject private MyService myService; ... myService.doSomething(); you would have @Inject private ObjectLocator locator; locator.autobuild(MyService.class).doSomething(). However I am

Bootstrap

2011-10-12 Thread Denis Stepanov
Hello, how many of you know Bootstrap http://twitter.github.com/bootstrap/, a css toolkit designed to kickstart development of webapps and sites from Twitter? I just had an idea that Tapestry could use bootstap as defaul css stylesheet. It would be pretty impressive to have default components a

@Scope

2011-10-12 Thread Tony Nelson
I have a service, that I need a new instance of every time it is referenced. In ScopeConstants I see DEFAULT, and PERTHREAD. I really need a new instance every time I request this particular service because it saves state, and yes, there are some occasions where I need several of these in the

Re: Compiled CSS

2011-10-12 Thread Howard Lewis Ship
Why is this needed? The file extension is not very important, but the MIME type will be correct either way, and that should be all the browser cares about. They'll ask for a "foo.less" file and will be sent a stream of CSS, with a matching content-type header. On Wed, Oct 12, 2011 at 1:50 PM, De

Re: Compiled CSS

2011-10-12 Thread Denis Stepanov
If I understand it correctly, right now resources accesses with ResourceTransformer will have same url as the source. It would be nice to have somekind of transform resources mapping, lets say we want to transform less file or files to css: virtualTransformResource("/css/bootstrap.css", "/less/

Re: Grid sorting - lowercase,uppercase

2011-10-12 Thread cqasker
You can override GridDataSource: So you can do something like: This is something I did to put nulls at the bottom when a user sorts the grid. I hope it is helpful. @Override public void prepare(int startIndex, int endIndex, List sortConstraints) { // your own initialization code

Autocomplete

2011-10-12 Thread George Christman
I've been playing with the autocomplete and notice it seems to be missing some basic functionality InputKeyDown and InputKeyUp. I'm seeing my page scroll all over the place when using those keys. I tried it on the Jumpstart website to see the same behavior. Does anybody know of a patch or if there

Re: NumberFormatter

2011-10-12 Thread Leon Derks
Hello all, Thanks for your support. It was quite some work, but I managed to get it working.. For everybody else who is struggling with this, here is my code for Tapestry 5.2.6 Page.tml CurrencyTranslator.java import java.text.DecimalFormat; import org.apache.tapestry5.Field; import o

Re: Adding a tooltip(or a title tag) to tapestry grid rows

2011-10-12 Thread Muhammad Gelbana
You should override the column to get the new behavior you need ! Just override it and show what exactly it should by default (since you don't want anything new regarding what's displayed in the cell), then add your javascript code to enable the tooltip behavior. Just give Thiago's suggestion a tr

Re: Adding a tooltip(or a title tag) to tapestry grid rows

2011-10-12 Thread ManuPK
Thiago H de Paula Figueiredo wrote: > > You're not correct. This will override the block used to display that > column. > Yes. Again I don't want to override any column. I want the data to be shown in the tool tip. Which is displayed on "mouse over" on the row. -- View this message in contex

Re: Adding a tooltip(or a title tag) to tapestry grid rows

2011-10-12 Thread Thiago H. de Paula Figueiredo
On Wed, 12 Oct 2011 11:59:27 -0300, ManuPK wrote: Thiago H de Paula Figueiredo wrote: Use ordinary grid cell block overrides: anything you want here As I understand, it will add an additional column in the grid. I don't want that. I want a tool tip to be show on each row and not

Re: Adding a tooltip(or a title tag) to tapestry grid rows

2011-10-12 Thread ManuPK
Thiago H de Paula Figueiredo wrote: > > Use ordinary grid cell block overrides: > > > anything you want > here > > As I understand, it will add an additional column in the grid. I don't want that. I want a tool tip to be show on each row and not another column. May be I can add an in

Re: JPA again

2011-10-12 Thread Serge Eby
Hi, Look for JPA here: http://tapestry5.de/ HTH, /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/JPA-again-tp6885036p6885313.html Sent from the Tapestry Users mailing list archive at Nabble.com. --

Re: Adding a tooltip(or a title tag) to tapestry grid rows

2011-10-12 Thread Thiago H. de Paula Figueiredo
On Wed, 12 Oct 2011 10:55:39 -0300, ManuPK wrote: How can I add a tooltip(or a title tag) to tapestry grid rows? I want to show row sensitive information in the tool tip. I could do it in t:loop but in need to use t:grid. I am using tapestry version 5.0.18. Use ordinary grid cell block ov

Adding a tooltip(or a title tag) to tapestry grid rows

2011-10-12 Thread ManuPK
How can I add a tooltip(or a title tag) to tapestry grid rows? I want to show row sensitive information in the tool tip. I could do it in t:loop but in need to use t:grid. I am using tapestry version 5.0.18. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Adding-a-tooltip-

JPA again

2011-10-12 Thread Christine
Hi, I'm using 5.3 beta 19 now. Tapestry jpa can't seem to find my persistence.xml. When I make a deliberate typo in the file, it doesn't complain. Even when I delete the file, jpa doesn't complain. I'd expect jpa to say someting like "missing persistence unit". META-INF is in the root of my wa

Re: AjaxFormLoop problem with Tapestry 5.2.-beta-9

2011-10-12 Thread Emmanuel DEMEY
I have just tested the sample of Taha's blog ( http://tawus.wordpress.com/2011/07/26/tapestry-ajaxformloop/) and it is the same. When I add a new row, its id is not set. I am using Tapestry 5.3-beta-19. Emmanuel 2011/10/5 Michael Dukaczewski > I am now on version 5.3-beta-16 and the error still

Re: Showing Hiding Blocks based on Select

2011-10-12 Thread Muhammad Gelbana
Sounds like totally a client side design issue. I hate when this happens ! I'm not 100% sure that you need server side processing as Thiago asked. If you need server-side processing, you'll need zones. If it's all about showing/hiding client-side divs, load all your divs as a start. Style them as

Re: NumberFormatter

2011-10-12 Thread Muhammad Gelbana
When you need to "contribute" a configuration or anything to tapestry, first check this page: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/TapestryModule.html Find the method likely to satisfy your need, like in your case here: http://tapestry.apache.org/current/apidocs

Re: NumberFormatter

2011-10-12 Thread Leon Derks
Hello Chris, Thank you. Yes I have already seen that page, but I couldn't find an example with a FieldTranslator. Does anyone have an example how to do this? regards, Leon On Oct 12, 2011, at 11:57 AM, derkoe wrote: > > Leon Derks wrote: >> >> I have a TextField that shows a double value. >

Re: NumberFormatter

2011-10-12 Thread derkoe
Leon Derks wrote: > > I have a TextField that shows a double value. > > But I want to format the value in the Textfield as a decimal with 4 > decimals (i.e. 0.1234) > > In Tapestry there is a NumericFormatter and a BigDecimalNumericFormatter. > But I can't find any documentation on how to use t

NumberFormatter

2011-10-12 Thread Leon Derks
I have a TextField that shows a double value. But I want to format the value in the Textfield as a decimal with 4 decimals (i.e. 0.1234) In Tapestry there is a NumericFormatter and a BigDecimalNumericFormatter. But I can't find any documentation on how to use these on a TextField. Can someone g

Re: Showing Hiding Blocks based on Select

2011-10-12 Thread Leon Derks
Hello Thanks for your answer. At the moment I am working with Blocks and a I think it is almost working, but I want to handle the change event and update the activeBlock when changing the value in the select box. How can I do that? Why do I need a Zone to handle the change event? Because I wan