Re: T5 Expansions (with Maps?)

2007-03-19 Thread Howard Lewis Ship
Due to Java type erasure, Map at compile time becomes Map at runtime. The type information is lost, so the prop binding prefix has no type information to work from. In addition, the prop binding prefix works directly from JavaBeans specification (whereas OGNL fudges it a bit to make Map keys act

Re: T5 - radio input

2007-03-19 Thread Howard Lewis Ship
Certainly for 5.0.4, but I'm back on a Tapestry project full time, so things are going to slow down on T5 for a little bit, as I only have nights and weekends for T5 currently. On 3/19/07, Bogdan Calmac <[EMAIL PROTECTED]> wrote: Hi all, As far as the features available in T5 I thought it was m

Re: Wrapping dojo components for tapestry

2007-03-19 Thread Jesse Kuhnert
Oh sorryIn its most simplistic form you can just do: var widget=dojo.widget.createWidget(myDomNode); On 3/19/07, Steve Shucker <[EMAIL PROTECTED]> wrote: Thanks, I found some useful examples there. -Steve Yiannis Mavroukakis wrote: > I think lombok.demon.co.uk has what you need :) > > >

Re: Unable to parse OGNL expression

2007-03-19 Thread Jesse Kuhnert
If you file an issue in http://jira.opensymphony.com/browse/OGNL I should be able to fix it tomorrow. On 3/19/07, Borut Bolčina <[EMAIL PROTECTED]> wrote: I am trying to use Tacos 4.1 Tree component. I generated a skeleton project with Tapestry 4 Maven archetype and copied SimpleTree files from

Re: T4.1 focus=true for Forms, Change Request

2007-03-19 Thread Jesse Kuhnert
Oops...Shame on me. I was going to point out that this functionality currently existed already using the EventListener annotation and just needed to be carried over to the other async areas...but then I noticed that I hadn't even documented this feature for EventListener..oops If someone creates

Re: Autocompleter probs

2007-03-19 Thread Jesse Kuhnert
I can't follow any of this anymore . =p If someone attaches a very simple example (knowing that referencing any objects / other things means I'll have to try manually creating what you "probably" were doing in anything I can't see) and attaches it to jira I'll take a look at it. On 3/19/07, Yian

T5 Expansions (with Maps?)

2007-03-19 Thread Peter Beshai
Is there any current way of using expansions to get properties from a map? I have an object with a properties field of type Map and I think it would be nice if I could ${myobj.properties.mykey} to get the value out. As far as I can tell this doesn't work and the workaround is to define properties

Re: [t4.0.2]how to reset the order status of the column of tableview

2007-03-19 Thread 王文楠
yes, it's done , thank you !

Tap4 Obtaining assets dynamically

2007-03-19 Thread Miguel Angel Hernández
Hi all, Does anybody nows a way to obtain Assets dynamically? cheers, miguel

Re: Tapestry sub-projects / related projects

2007-03-19 Thread Jesse Kuhnert
That's what I was hoping / waiting to hearI guess until that happens - it looks like the right perms are setup for Andreas or myself now Jerome. I'd ping Andreas off-list (or me if he's not inclined - just seemed more appropriate since tacos is kind of his domain now ) to get setup with a T5

T5 - radio input

2007-03-19 Thread Bogdan Calmac
Hi all, As far as the features available in T5 I thought it was mentioned that all form elements are already implemented, but today I needed a radio input and I realized it's not available yet. Howard, any ideea when the radio input will be available? Thank you, Bogdan Calmac. ---

T5,page template location ?

2007-03-19 Thread Jun Tsai
I had read http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html,but my webapp structure is /images/xx.gif /test/TestForm.html /WEB-INF/web.xml How to do? ps:I think the structure is best for dreamweaver. -

interesting employment opportunity for Tap experts

2007-03-19 Thread Sam Gendler
Folks, The company I work for is hiring someone to take over lead architect and tech lead responsibilities on all UI development. We've got a fairly sophisticated internal application that is driving the business, and are about to embark on development of a large customer facing UI. Everything

Re: T5 submit

2007-03-19 Thread Anjana Gopinath
Thanks a lot for helping me out, howard. It works now. Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30079 [EMAIL PROTECTED] On Mar 19, 2007, at 10:22 AM, Howard Lewis Ship wrote: onSelectFromLogin() { ... } onSelectFromHelp() { ... } Store a val

RE: Autocompleter probs

2007-03-19 Thread Yiannis Mavroukakis
No I did this without the autocompleter outside the @Else :) -Original Message- From: Andrea Chiumenti [mailto:[EMAIL PROTECTED] Sent: 19 March 2007 17:39 To: Tapestry users Subject: Re: Autocompleter probs This should work because you have already added a static widget: the autocomplete

Re: [t4.0.2]how to reset the order status of the column of tableview

2007-03-19 Thread Shing Hing Man
Have you tried org.apache.tapestry.contrib.table.components.TableView.reset() ? Shing --- ÍõÎÄéª <[EMAIL PROTECTED]> wrote: > once i click one column in the table , the > tablerows orders by this > column.but i don't know how to reset the status and > show the table without > any orders >

Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Istvan Szucs
Hello Davon! You are right. It is only work in tapestry 4.x. These files created in my "tapestry-hilo" application: 1. Edit.html - >8 http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Edit Szöveg: ${szoveg} Árvíztűrő kútfúró! 8< - 2. Edit.java - 8< package

Re: Tapestry sub-projects / related projects

2007-03-19 Thread Howard Lewis Ship
I hope to set up a SVN server on tapestry.formos.com that can be used for all Tapestry and HiveMind related work. I'll then move my existing off-apache projects there. On 3/18/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Will do.. Hopefully it is happening monday according to what Viktor told me

Re: Tapestry 5 for production?

2007-03-19 Thread Howard Lewis Ship
If you can live with the limitations (in terms of unimplemented functionality) then you are likely OK. I'm hoping that the transition from 5.0.2 to 5.0.3 will be the last one where large amounts of user-visible code changes (i.e. the change in how templates are parsed, and the changes to T5 IoC).

Re: [OT] [T5] tapestry project structure

2007-03-19 Thread Renat Zubairov
Hi We had this problem with Maven plugin 0.0.9, but it is fixed with 0.0.10 may be you need to update your version of maven plugin? Renat On 14/03/07, D&J Gredler <[EMAIL PROTECTED]> wrote: Yeah, I've run into this at work as well. The main problem I ran into was that the project depended on t

Re: Autocompleter probs

2007-03-19 Thread Andrea Chiumenti
This should work because you have already added a static widget: the autocompleter (outside the @Else, as you have already done) kiuma On 3/19/07, Yiannis Mavroukakis <[EMAIL PROTECTED]> wrote: Sorry I was a little too brief in explaining what i did..Take the same HTML template we have been di

Re: Autocompleter probs

2007-03-19 Thread Yiannis Mavroukakis
Sorry I was a little too brief in explaining what i did..Take the same HTML template we have been discussing during the past few days but instead of i added the date picker in there, still in the conditional flow so now it looks like this. Y On Mon, 2007-03-19 at

Re: Autocompleter probs

2007-03-19 Thread Andrea Chiumenti
No, I didn't mean this, I wanted to say that if you have something like: shouldn't work if you don't write another widget (of your choice) that is needed for say 'initialization'. so you should have this to make it work: kiuma On 3/19/07, Yiannis Mavroukakis <[EMAIL PRO

Re: Autocompleter probs

2007-03-19 Thread Yiannis Mavroukakis
Something like this? and I tested it and the datepicker works fine, as far as rendering and choosing a date are concerned. Y On Mon, 2007-03-19 at 18:12 +0100, Andrea Chiumenti wrote: > This example shouldn't work to

Re: Wrapping dojo components for tapestry

2007-03-19 Thread Steve Shucker
Thanks, I found some useful examples there. -Steve Yiannis Mavroukakis wrote: I think lombok.demon.co.uk has what you need :) On Mon, 2007-03-19 at 09:01 -0700, Steve Shucker wrote: Creating the plain-vanilla web page and slowly moving it into the tapestry world is how I eventually figure

Re: Autocompleter probs

2007-03-19 Thread Andrea Chiumenti
This example shouldn't work too, except you ad a 'static' (not conditional) widget to the form I think. Client

Re: Autocompleter probs

2007-03-19 Thread Yiannis Mavroukakis
In what respect would the DropdownDatePicker not function ok?? On Mon, 2007-03-19 at 17:49 +0100, Andrea Chiumenti wrote: > Yiannis, > I think it's not an autocompleter problem, I think it's someway related to > widgets in general, you should have the same problem also with other widjets > when th

Re: Autocompleter probs

2007-03-19 Thread Andrea Chiumenti
Yiannis, I think it's not an autocompleter problem, I think it's someway related to widgets in general, you should have the same problem also with other widjets when they are created with an ajax req., and the form started without one defined. For example you should have the same problem if you'd

Re: Wrapping dojo components for tapestry

2007-03-19 Thread Yiannis Mavroukakis
I think lombok.demon.co.uk has what you need :) On Mon, 2007-03-19 at 09:01 -0700, Steve Shucker wrote: > Creating the plain-vanilla web page and slowly moving it into the > tapestry world is how I eventually figured things out. I was really > just hoping someone could point me to a good howto

Re: Autocompleter probs

2007-03-19 Thread Yiannis Mavroukakis
Latest snapshot doesn't emit any errors but it also doesnt return any data (according to firebug) unfortunately. The autocompleter outside the conditional flow works fine. On Sun, 2007-03-18 at 20:12 -0400, Jesse Kuhnert wrote: > Are you using the latest version - 4.1.2-SNAPSHOT ? > > There was a

Tapestry 5 for production?

2007-03-19 Thread Celia Mou
Greeting, everyone! I know Tapestry 5 only has preview releases at the moment. I'm excited to see the auto-reloading feature, which is the main reason why I'm considering it for the current project. Without this, though I've done 2 projects with Tapestry 3, I would still tend to drop it becau

Re: Wrapping dojo components for tapestry

2007-03-19 Thread Steve Shucker
Creating the plain-vanilla web page and slowly moving it into the tapestry world is how I eventually figured things out. I was really just hoping someone could point me to a good howto on using dojo with programmatically created widgets (vs. parseWidgets). I'll try to look more at the tapestr

Re: tapestry-acegi for basic auth only?

2007-03-19 Thread Robin Ericsson
On 3/19/07, Phillip Rhodes <[EMAIL PROTECTED]> wrote: From my understanding of tapestry-acegi (http://www.carmanconsulting.com/tapestry-acegi/) , it appears to support basic authentication, not form-based or other types of authentication. Can someone confirm my view? Confirmed. Although I h

Re: Unable to parse OGNL expression (Tacos 4.1.0 & Tapestry 4.1.2)

2007-03-19 Thread Borut Bolčina
Well, I don't think I can make it much shorter: ### SimpleTree.html ### Simple Tree ### SimpleTree.page ### I started with http://andyhot.di.uoa.gr/blojsom/blog/default/java/2006/08/17/Tapestry-Building-Trees-with-Tacos-and-Annotation

tapestry-acegi for basic auth only?

2007-03-19 Thread Phillip Rhodes
>From my understanding of tapestry-acegi >(http://www.carmanconsulting.com/tapestry-acegi/) , it appears to support >basic authentication, not form-based or other types of authentication. Can someone confirm my view? Thanks!

Re: Dynamic components with template (? extends BaseComponent)

2007-03-19 Thread Steve Shucker
If you've got the components you want somewhere else on a template, you can always use Block/RenderBlock. That involves setting up @Block areas for each possible content and putting a @RenderBlock in the target area. Then you just need a method to wire up the RenderBlock's "block" attribute.

[t4.0.2]how to reset the order status of the column of tableview

2007-03-19 Thread 王文楠
once i click one column in the table , the tablerows orders by this column.but i don't know how to reset the status and show the table without any orders

Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Kovács István
Howard, Thanks for the reply (and for Tapestry, of course :-). I've figured "mvn package" out, so I have the WAR. On encoding: On 19/03/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: [...] Tapestry's localization support has only been partially "roughed in"; T4 has additional features, such

Re: Unable to parse OGNL expression

2007-03-19 Thread Andrea Chiumenti
Hi, beleave me, too much code into html template. Move it to your java, you'll be happy! kiuma On 3/19/07, Borut Bolčina <[EMAIL PROTECTED]> wrote: I am trying to use Tacos 4.1 Tree component. I generated a skeleton project with Tapestry 4 Maven archetype and copied SimpleTree files from Tacos

Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Kovács István
Hi Istvan :-) Thanks, now I have the WAR, deployed on Tomcat, configured as you suggested. Unfortunately, I still have encoding issues. Trouble is, what I need to fix is not the URI encoding, but encoding of the HTTP response. I seem to be getting content encoded in ISO-8859-2 or Windows-1250, wi

Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Howard Lewis Ship
mvn package will create the WAR file (in the target directory), which you can then use in any servlet container. Tapestry's localization support has only been partially "roughed in"; T4 has additional features, such as meta-data to control the charset and encoding when reading in a .properties f

Re: T5 submit

2007-03-19 Thread Howard Lewis Ship
onSelectFromLogin() { ... } onSelectFromHelp() { ... } Store a value in these event handler methods. Return that value from onSubmitFromForm(). Submit components should be related to the Form and the data editted by the Form, so they are not allowed to abort the processing of the Form early. I

Re: T5 - What is the replacement of the PageRedirectException

2007-03-19 Thread Howard Lewis Ship
onActivate() is kind of a merging of pageValidate() with activateExternalPage(). On 3/19/07, Dan Adams <[EMAIL PROTECTED]> wrote: so would this be the T5 equivilent to validate()? Or is there another way? On Fri, 2007-03-16 at 07:14 -0700, Howard Lewis Ship wrote: > onActivate() may return a a

Re: T5: Access to Locale object

2007-03-19 Thread Howard Lewis Ship
@Inject private Locale _locale; On 3/19/07, Chris Turner <[EMAIL PROTECTED]> wrote: Hi, I'm working on a Tapestry 5 application. I need to look up some text resources that are outside of Tapestry control (legacy application) but in order to do so I need access to the Locale object that Tapestry

Re: T5 submit

2007-03-19 Thread Anjana Gopinath
Pablo, Thanks a lot for helping me. I tried the options you suggested. It looks like OnEvent(value="selected", ---) doesnt take a return type. i get the exception given below. Event 'selected' from com.truenorth.quote.pages.AddService:addapps received an event handler method return valu

Unable to parse OGNL expression

2007-03-19 Thread Borut Bolčina
I am trying to use Tacos 4.1 Tree component. I generated a skeleton project with Tapestry 4 Maven archetype and copied SimpleTree files from Tacos 4.0.1 sources. Any quick hints on the following error: Unable to parse OGNL expression 'offsetAttribute + ': ' + (((contentProvider.hasChildren(val

Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Davor Hrg
none of those options worked for me in T5, nor template text nor text from database (text from database displays correctly in the console) Davor Hrg On 3/19/07, Istvan Szucs <[EMAIL PROTECTED]> wrote: Deploy mavenized project: 1. pom.xml: war 2. command prompt: mvn deploy 3. You have a *.war f

Re: Autocompleter probs

2007-03-19 Thread Yiannis Mavroukakis
No, I will give it a try, thank you :) On Sun, 2007-03-18 at 20:12 -0400, Jesse Kuhnert wrote: > Are you using the latest version - 4.1.2-SNAPSHOT ? > > There was an issue found previously by someone else with nesting > widgets within widgets. If you want a good starting point the > timetracker h

Re: T5 - What is the replacement of the PageRedirectException

2007-03-19 Thread Dan Adams
so would this be the T5 equivilent to validate()? Or is there another way? On Fri, 2007-03-16 at 07:14 -0700, Howard Lewis Ship wrote: > onActivate() may return a a page object (or page name). This will > send a new client-side redirect to the indicated page. > > On 3/16/07, CB <[EMAIL PROTECTED

RE: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Istvan Szucs
Deploy mavenized project: 1. pom.xml: war 2. command prompt: mvn deploy 3. You have a *.war file in your 'project/target' directory. Open tomcat manager and deploy your *.war file with admin role. Jetty: ??? - Jetty + UTF-8: -Dorg.mortbay.util.URI.charset=UTF-8 Tomcat + utf-8: Update t

Re: T5: Access to Locale object

2007-03-19 Thread Hugo Palma
According to a previous post from Howard regarding changing the locale: "You should be able to inject the ThreadLocale service and change the locale there. Tapestry will pick up on that and write out an updated cookie, which will cause the subsequent render request to be in the new locale." Hop

T5: Access to Locale object

2007-03-19 Thread Chris Turner
Hi, I'm working on a Tapestry 5 application. I need to look up some text resources that are outside of Tapestry control (legacy application) but in order to do so I need access to the Locale object that Tapestry thinks it is using to render my pages. Is there any way that I can access or injec

Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-19 Thread Kovács István
Hi, I've built an application using the quickstart Maven prototype. It all works fine, but serves the output in ISO-8859-1 (Latin-1), not UTF-8. Kent Tongs book on Tapestry 4 says "Tapestry always use UTF-8 to encode the output, regardless the encoding of the template". This seems to have changed

Re: T4.1.2 GenericsMethodSignatureImpl throw exception!

2007-03-19 Thread Jun Tsai
Post a jira https://issues.apache.org/jira/browse/TAPESTRY-1374 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T4.1.2 GenericsMethodSignatureImpl throw exception!

2007-03-19 Thread Jun Tsai
hi public class GenericTest { @Test public void test_find_type() { Class clazz=TestGeneric.class; Method[] ms = clazz.getMethods(); for (Method m : ms) { System.out.println(m.getName());