RE: T4 question:

2007-06-06 Thread Bhuiyan, Nazmul
omitZero=true disable the required and the javascript's client side validation. -Original Message- From: Bhuiyan, Nazmul Sent: Thursday, 7 June 2007 11:03 a.m. To: Tapestry users Subject: RE: T4 question: I'm new to Tapestry and please suggest me the right version of Tapestry to use for

Re: dojo's dialog which should hidden not hidden at first

2007-06-06 Thread Heping Zhang
Thank you. Maybe something others goes wrong and cause my problem. Thank you.

Re: async exceptions display

2007-06-06 Thread Jesse Kuhnert
Never mind I'm a liar.Guess I broke it the other day with a different change. Is fixed now and will be deployed whenever I run out of bug fixing steam. On 6/6/07, Julian Wood <[EMAIL PROTECTED]> wrote: Hmm, well I removed all my css, and it still happens. Then I removed all my own Dialog c

RE: T4 overriding properties unnecessarily?

2007-06-06 Thread Robert J. Walker
Done. Here's the link to the JIRA issue. https://issues.apache.org/jira/browse/TAPESTRY-1545 Robert J. Walker -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 4:38 PM To: Tapestry users Subject: Re: T4 overriding properties unnecessarily?

Re: ognl or tapestry problem?

2007-06-06 Thread Jesse Kuhnert
Ok, if you file a jira issue I'll look at it. (in the ognl jira) On 6/6/07, Julian Wood <[EMAIL PROTECTED]> wrote: No I wasn't using that latest snapshot. For some reason, I thought that was being taken care of by the tapestry pom. Anyway, I am now using the latest ognl snapshot and it still e

Re: ognl or tapestry problem?

2007-06-06 Thread Julian Wood
No I wasn't using that latest snapshot. For some reason, I thought that was being taken care of by the tapestry pom. Anyway, I am now using the latest ognl snapshot and it still errors, so I guess it is an ognl bug. Thanks, J On 6-Jun-07, at 4:51 PM, Jesse Kuhnert wrote: It must be an og

Re: async exceptions display

2007-06-06 Thread Julian Wood
Hmm, well I removed all my css, and it still happens. Then I removed all my own Dialog components, and it is still wonky. I'll have to try making a tiny testcase to see what is really going on, I think. I only see the dojoDialog class applied to the dom node for the dialog itself, not for t

RE: Cometd Implimentation

2007-06-06 Thread Craig Spry
Thanks for your help, I'm actually trying to get it into Tacos at the moment, when I told Andy what I had and that I wanted to put it into Tacos, he made me a directory structure to put it in. It should be in its new home by the end of today. Craig -Original Message- From: Jesse Kuhnert

RE: T4 question:

2007-06-06 Thread Bhuiyan, Nazmul
I'm new to Tapestry and please suggest me the right version of Tapestry to use for my project. Tapestry5 is not stable yet. Shall I use 4.0.2? Thanks naz -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Thursday, 7 June 2007 10:57 a.m. To: Tapestry users Subject: Re:

Re: T4 question:

2007-06-06 Thread Hugo Palma
It looks like it. I have a similar use case in a project and it works fine but using 4.0.2. Jesse Kuhnert wrote: HmmmIt does look like it's possibly a bug. If you file a jira issue I can look at it. On 6/6/07, Bhuiyan, Nazmul <[EMAIL PROTECTED]> wrote: Hi, Thanks for your prompt answ

Re: ognl or tapestry problem?

2007-06-06 Thread Jesse Kuhnert
It must be an ognl bug. I can't think of any reason why it shouldn't work. (and you are using the http://opencomponentry.com/repository/m2-snapshot-repo/ right? ) http://jira.opensymphony.com/browse/OGNL On 6/6/07, Julian Wood <[EMAIL PROTECTED]> wrote: This works fine:

Re: T4 question:

2007-06-06 Thread Jesse Kuhnert
HmmmIt does look like it's possibly a bug. If you file a jira issue I can look at it. On 6/6/07, Bhuiyan, Nazmul <[EMAIL PROTECTED]> wrote: Hi, Thanks for your prompt answer. My question was regarding the validation. The weight field accepts empty filed even I've used 'required' in the

Re: async exceptions display

2007-06-06 Thread Jesse Kuhnert
I've been getting nice orange dialog exceptions still. Got a few today as a matter of fact. :) Do you think it's possible someone changed a style rule somewhere else in your project? There has been something fishy happening with dialogs in general as I've been seeing this weird "dojoDialog" css

Re: T4 overriding properties unnecessarily?

2007-06-06 Thread Jesse Kuhnert
I think there is no explanation other than it being a bug. None that come to mind at least. If you log a jira issue it can be addressed. On 6/6/07, Robert J. Walker <[EMAIL PROTECTED]> wrote: That did the trick. Thanks you, Christian. So that answers the question of how to get around the pro

RE: SSL tapestry and weblogic

2007-06-06 Thread roh
That was the original idea. But I do not see any issue with login page accessible via SSL Mark Stang wrote: > > Why not have the login page accessible via SSL also? > > Mark J. Stang > Senior Engineer/Architect > office: +1 303.468.2900 > mobile: +1 303.507.2833 > Ping Identity > > > >

Re: T5: select component with support for attribute "multiple"

2007-06-06 Thread Martin Grotzke
On Wed, 2007-06-06 at 16:42 -0400, Daniel Jue wrote: > I'm not sure how that would work with a combobox/dropdown rendering > (since one click selects an item) > > It would have to render it like a listbox, the way it's done in Palette. > > BTW- I think the Palette super component is ready for use

RE: SSL tapestry and weblogic

2007-06-06 Thread Mark Stang
Why not have the login page accessible via SSL also? Mark J. Stang Senior Engineer/Architect office: +1 303.468.2900 mobile: +1 303.507.2833 Ping Identity -Original Message- From: roh [mailto:[EMAIL PROTECTED] Sent: Wed 6/6/2007 3:35 PM To: users@tapestry.apache.org Subject: SSL tapestr

SSL tapestry and weblogic

2007-06-06 Thread roh
Hi I am new to tapestry. I have set up a login page which authenticates user access and redirects to the requested url. I authenticate the user with the password stored in the database. This works fine. I would now like to change this so that all the pages (apart from login page) are ssl protec

ognl or tapestry problem?

2007-06-06 Thread Julian Wood
This works fine: -- @InitialValue("ognl: false") @Persist public abstract boolean getUseActivePeopleOnly(); public abstract void setUseActivePeopleOnly(boolean useActivePeopleOnly); @EventListener(targets = "showInactivePeople", events = "onclick", a

RE: T4 question:

2007-06-06 Thread Bhuiyan, Nazmul
Hi, Thanks for your prompt answer. My question was regarding the validation. The weight field accepts empty filed even I've used 'required' in the binding. Please see below: -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Bruce Petro
Hmmm... But Howard did I hear you right the other day that the resources/myapp/pages/start.html concept has been relaxed somewhat? I was thinking you showed the concept of having the html pages right inside the webapps/WEB-INF directory without the matching directory/package pathing ... di

Re: T5: select component with support for attribute "multiple"

2007-06-06 Thread Martin Grotzke
On Wed, 2007-06-06 at 22:47 +0200, Michael Maier wrote: > Yes...it seems that multiple selects are not yet supported, but it is > very easy to write a component... You're right, it's really easy to do this - it took about 30 minutes and some testing :) > just take the select component from > t

Re: T5: select component with support for attribute "multiple"

2007-06-06 Thread Martin Grotzke
On Wed, 2007-06-06 at 21:51 +0200, Martin Grotzke wrote: > Hi, > > AFAICS doesn't the select component support the attribute > "multiple", only the first selected option is set on the > value. > > Is there some way to get this to work with support for "multiple"? I just extended the current Sele

async exceptions display

2007-06-06 Thread Julian Wood
For a while any exception you got back from an async request would fade out the page, and then overlay it with the normal tapestry blue and yellow. The problem was that the transparent overlay was impossible to read against the background of your web page. The next problem is that it was im

Re: T5: select component with support for attribute "multiple"

2007-06-06 Thread Michael Maier
Yes...it seems that multiple selects are not yet supported, but it is very easy to write a component...just take the select component from tapestry, look for "value" and the isOptionValueSelected method. I changed the value to Set type and changed the protected void processSubmission(Fo

Re: T5: select component with support for attribute "multiple"

2007-06-06 Thread Daniel Jue
I'm not sure how that would work with a combobox/dropdown rendering (since one click selects an item) It would have to render it like a listbox, the way it's done in Palette. BTW- I think the Palette super component is ready for use in T5.0.5 SNAPSHOT. That should at least give you the same fun

Re: dojo's dialog which should hidden not hidden at first

2007-06-06 Thread Julian Wood
Just add a style="display:none" to your loginDialog, or a surrounding div. J On 5-Jun-07, at 5:50 PM, Heping Zhang wrote: hi, I use dojo's dialog to let people login,like this: All is ok, except one small problem. Before the page opened completely,the loginDialog appears on the top o

Re: @Dialog form with validation errors broken

2007-06-06 Thread Julian Wood
I've been using the Dialog component for async form entry quite successfully for some time now. You might want to try using client- side validation. I've found that the only thing you need to do is attach some extra functionality to the submit, so that you can close the dialog if validation

Re: T5 Hibernate and Hibernate Annotations

2007-06-06 Thread Daniel Jue
Thanks Davor. I think I'm going to use my domain POJOs as the "entities", and they currently live in the package myapp/model/domain I think this should be ok, since EJB3 entities are POJOs, from what I've read. So I will use that snippet of code to contribute the myapp/model/domain package, an

[T4.0.x] Converting a Direct Service into a Page Service

2007-06-06 Thread Norman Franke
I'm trying to use friendly URLs, and after following the instructions, I got it to work. I have one page with 3 form fields and a submit button. Normally, when a user clicks "submit" it calls a direct service. I want to translate this into the same URL one use to get there, e.g. http:// ho

T5: select component with support for attribute "multiple"

2007-06-06 Thread Martin Grotzke
Hi, AFAICS doesn't the select component support the attribute "multiple", only the first selected option is set on the value. Is there some way to get this to work with support for "multiple"? Thx && cheers, Martin signature.asc Description: This is a digitally signed message part

RE: T4 overriding properties unnecessarily?

2007-06-06 Thread Robert J. Walker
That did the trick. Thanks you, Christian. So that answers the question of how to get around the problem, but I still want to understand why this happens. Is this a bug or desired behavior? If the latter, why is it desired? Robert J. Walker -Original Message- From: Christian Dutaret [m

Re: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Howard Lewis Ship
Yes .. the idea is to strip out redundant junk in the URL (i.e., the class name recapitulating the package name). The bug is that it goes too far! On 6/6/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Here is an enumeration of what I believe to be true. First are the class and its matching template

Re: T4 overriding properties unnecessarily?

2007-06-06 Thread Christian Dutaret
i'd try to make isFinished() non-abstract in the SignupPage, and have it throw a runtime exception to make sure the base class implementation is never called 2007/6/6, Robert J. Walker <[EMAIL PROTECTED]>: I have an application that allows users to sign up for our service. One thing the applica

T4 overriding properties unnecessarily?

2007-06-06 Thread Robert J. Walker
I have an application that allows users to sign up for our service. One thing the application needs to do is determine whether it needs to continue to the next page or if it has enough information already. For example, some of our clients pay for some or all of the service at the corporate level

Re: T5 Hibernate and Hibernate Annotations

2007-06-06 Thread Davor Hrg
you use HA along with t5, t5 just supports it naturaly, if you put the entities in the entities package t5 will find them and add them to config. then, all you need is hibernate.cfg.xml containing connection data I'm leaving office right now so sory for a such short reply.. Davor Hrg On 6/6/07

Re: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Daniel Jue
Here is an enumeration of what I believe to be true. First are the class and its matching template. Next are a couple of the possible url mappings. java/myapp/pages/start.java resources/myapp/pages/start.html -> / -> /start -> /START java/myapp/pages/red/shoes.java resources/myapp/pages/red

T5 Hibernate and Hibernate Annotations

2007-06-06 Thread Daniel Jue
Hi all, I am just getting started with Hibernate in my Tap 5 application, and I'm kind of manually setting up Hibernate using the standard HibernateUtils static methods and xml files for my domain objects. It is working, although it's not elegant. Now, I thought it would be good to explore thi

Re: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Steven Coco
On Wed June 6 2007 11:56:28 am Howard Lewis Ship wrote: > Please add an issue to JIRA. I think what's happening is that > pagetwo/PageTwo.class is being aliased to the logical name "pagetwo/" > which is useless ... the code that does the mapping needs to be > careful not to alias down to nothing!

Re: Tapestry-Acegi - carmanconsulting.com not responding

2007-06-06 Thread carlos f
carlos f wrote: > > Also I can't seem to get anonymous access working to the svn repo - > http://svn.javaforge.com/svn/tapestry/tapestry-acegi/trunk > anonymous/anon works - chalk that up to user error Carlos -- View this message in context: http://www.nabble.com/Tapestry-Acegi---carmancon

Re: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Hugo Palma
I have already https://issues.apache.org/jira/browse/TAPESTRY-1541 Howard Lewis Ship wrote: Please add an issue to JIRA. I think what's happening is that pagetwo/PageTwo.class is being aliased to the logical name "pagetwo/" which is useless ... the code that does the mapping needs to be carefu

Re: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Howard Lewis Ship
Please add an issue to JIRA. I think what's happening is that pagetwo/PageTwo.class is being aliased to the logical name "pagetwo/" which is useless ... the code that does the mapping needs to be careful not to alias down to nothing! On 6/6/07, Hugo Palma <[EMAIL PROTECTED]> wrote: I think i mi

Re: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Steven Coco
This does solve my problem. So I'm moving forward... Thanks. -Steev Coco. On Wed June 6 2007 5:17:55 am Hugo Palma wrote: > I think i might have found an "interesting" behavior in component > resolution. It seems that if you have a directory with the same name as > the page itself, Tapestry won'

Re: Whoops: 5.0.5 SNAPSHOT NoSuchMethodError Registry.eagerLoadServices

2007-06-06 Thread Steven Coco
(This message is late due to strange email server behaviors...) This aspect is OK now: I just ran it without error. OK. On Mon June 4 2007 3:03:17 pm Howard Lewis Ship wrote: > My bad, I just uploaded the latest tapestry-core snapshot, which depends on > the latest tapestry-ioc. > > On 6/4/07,

Tapestry-Acegi - carmanconsulting.com not responding

2007-06-06 Thread carlos f
Not sure if there is an issue on my end, but the the tapestry-acegi URL is not responding -- http://www.carmanconsulting.com/tapestry-acegi/ Also I can't seem to get anonymous access working to the svn repo - http://svn.javaforge.com/svn/tapestry/tapestry-acegi/trunk I am also having general iss

Re: dynamic plugins / menu problem

2007-06-06 Thread Eckenfellner Klaus
thx marcus for your reply ... will try your code snippets this evening, but i am very optimistic and looks great ... hope my problem is solved. *gg* [EMAIL PROTECTED] wrote: > 1. you could define a hivemind configuration-point into which you may > contribute your page-names, implement a service th

Re: Updating a property with InlineEditBox 4.1.1

2007-06-06 Thread Chris Chiappone
JIRA created: https://issues.apache.org/jira/browse/TAPESTRY-1543 On 6/6/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: HmmPerhaps you are relying on some form persistence strategy to maintain state - not sure. Can you file a jira issue for it with very specific information about the prope

Re: Where do you put your templates in a Tapestry library ?

2007-06-06 Thread Stephane Decleire
T4.1.1 ??? a écrit : Do you use T5 or T4? 2007/6/6, Stephane Decleire <[EMAIL PROTECTED]>: Hi, I've packaged some Tapestry pages and components in a library. I've dropped my templates in the same folders as my specifications. But, when i try to use them in an application, Tapestry can't find

Re: Where do you put your templates in a Tapestry library ?

2007-06-06 Thread 蝈蝈龙
Do you use T5 or T4? 2007/6/6, Stephane Decleire <[EMAIL PROTECTED]>: Hi, I've packaged some Tapestry pages and components in a library. I've dropped my templates in the same folders as my specifications. But, when i try to use them in an application, Tapestry can't find my HTML templates ...

Re: dojo's dialog which should hidden not hidden at first

2007-06-06 Thread Heping Zhang
Thank you. But there are some problems. If I put style="display:none" in the out DIV, like the following, the Dialog will never be selected. In general, when the dialog appears, others below it will become translucent and cannot be select. And if I add the style rule like this, the dialog will als

Where do you put your templates in a Tapestry library ?

2007-06-06 Thread Stephane Decleire
Hi, I've packaged some Tapestry pages and components in a library. I've dropped my templates in the same folders as my specifications. But, when i try to use them in an application, Tapestry can't find my HTML templates ... Any idea ? Thanks in advance. Stephane ---

RE: dynamic plugins / menu problem

2007-06-06 Thread Marcus.Schulte
1. you could define a hivemind configuration-point into which you may contribute your page-names, implement a service that takes that takes this configuration-point as an arg and inject it wherever you need it. No need to access the HM-Reg. 2. Skip hivemind altogether and do sth like: for ( Str

Re: [ANN] HandyTapestry 1.1, Tapestry plugin for IntelliJ Idea

2007-06-06 Thread Chris Chiappone
If only this could be ported to eclipse ;) Good work! On 6/6/07, Alexei Orishchenko <[EMAIL PROTECTED]> wrote: HandyTapestry 1.1 released If you develop a http://tapestry.apache.org Tapestry web application using http://www.jetbrains.com/idea IntelliJ Idea then try http://handyedit.com/han

Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-06 Thread César Augusto Mateus
Good Morning, I have a GridComponent question similar to this: ' Hi Jesse, I looked at the link and I must say that I still do not get it How will I wrap my content into a directLink in the grid component? ' I find this question in this url searching information over this: http://www.sagewire

Re: Tapestry > 4.0.2 breaking compatibility IBM JDK 1.5.0 on iSeries

2007-06-06 Thread Jesse Kuhnert
Sounds like the IBM jre has a bug. I'd try to upgrade it somehow. I know they have more recent versions than just the initial 1.5.0. On 6/6/07, Eckenfellner Klaus <[EMAIL PROTECTED]> wrote: Hi everybody! Since last week i am running out a really nasty problem. in my company i am writing a web

Re: Cometd Implimentation

2007-06-06 Thread Jesse Kuhnert
Looks awesome so far Craig ! Keep up the good work. :) Sorry I've been a little busy to keep up with everything but your efforts are appreciated of course. If you wanted a public svn repo I can give you access to the tacos repo if you send me your sourceforge username off-list . (assuming that

Re: dojo's dialog which should hidden not hidden at first

2007-06-06 Thread Jesse Kuhnert
Set a style rule on the div ...such as style="display:none" On 6/5/07, Heping Zhang <[EMAIL PROTECTED]> wrote: hi, I use dojo's dialog to let people login,like this: All is ok, except one small problem. Before the page opened completely,the loginDialog appears on the top of the page. Onl

Re: @Dialog form with validation errors broken

2007-06-06 Thread Jesse Kuhnert
I'm not sure I understand what the actual problem is that you are running in to? I have noticed recently that I've had to define a .dojoDialog css style rule for instances when I refresh a dialog via XHR - it could be you are seeing this as well? I still have to look in to this further but am th

Re: How to load a image dynamiclly in tapestry5.0.4

2007-06-06 Thread Denis McCarthy
Hello, I came across this thread while searching for a way to display images from blobs stored in a database in T5. I've been messing around with Assets/AssetFactories and Resources, and although I've been making reasonable progress I'm not sure if it's the appropriate way to approach the disp

Re: Updating a property with InlineEditBox 4.1.1

2007-06-06 Thread Jesse Kuhnert
HmmPerhaps you are relying on some form persistence strategy to maintain state - not sure. Can you file a jira issue for it with very specific information about the property you have mapped to the component and how you are managing state with it? (or if it is enclosed by a form / etc..) On 6

Re: How to load a image dynamiclly in tapestry5.0.4

2007-06-06 Thread petros
I have an image saved in the database as BLOB. I am loading this image in memory and can access it using getUser().getPhotoImage() which returns an object of type java.io.File. How can I display this image on a tapestry html page using a Tapestry Asset? Petros Howard Lewis Ship wrote: > > In

Re: Integration Tapestry 4.0 + Spring 2.0 + Hibernate 3.0 + JBoss 4.2

2007-06-06 Thread César Augusto Mateus
Thank you very much, i very was disoriented I put the sitemap.xml inside the folder META-INF in a jar of the library tacos, this jar have a file there same named tacos.services.xml, where are especified the services hivemind of the library Tacos. On 6/5/07, andyhot <[EMAIL PROTECTED]> wrote: Do

Re: T5: How to logout or kill the Session

2007-06-06 Thread Massimo Lusetti
On 5/18/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Please add an issue to JIRA. We should extend the Reuest and/or Session API to include a method for resetting the Session. With T5's structure, we have a natural place to invalidate the HttpSession after sending the client redirect. Doe

ADD: dynamic plugins / menu problem

2007-06-06 Thread Eckenfellner Klaus
sorry mentioned to use tapestry 4.0.2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

dynamic plugins / menu problem

2007-06-06 Thread Eckenfellner Klaus
hi everybody! i want to create a modulare application, which is organized into several plugins (tapestry component libraries). each plugin has it's own pages / services / interfaces / logic. each plugin in independent from the other plugin and also the application. the application does only cont

[ANN] HandyTapestry 1.1, Tapestry plugin for IntelliJ Idea

2007-06-06 Thread Alexei Orishchenko
HandyTapestry 1.1 released If you develop a http://tapestry.apache.org Tapestry web application using http://www.jetbrains.com/idea IntelliJ Idea then try http://handyedit.com/handytapestry.html HandyTapestry plugin! The HandyTapestry plugin for IntelliJ Idea helps you to develop Tapestry

Re: injecting an object into a tap4.1.2 via hivemind

2007-06-06 Thread Igor Drobiazko
It is not documented because stateful service model is not available in hivemind. It is contributed by honeycomb. On 6/6/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: s/scooped/scoped/ On 6/6/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > Igor, > thx for replying, but I've two other quest

Re: injecting an object into a tap4.1.2 via hivemind

2007-06-06 Thread Andrea Chiumenti
s/scooped/scoped/ On 6/6/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Igor, thx for replying, but I've two other questions Is stateful application or session scooped(I need an application scooped object) ? why stateful isn't documented in http://hivemind.apache.org/hivemind1/descriptor.html#i

Re: injecting an object into a tap4.1.2 via hivemind

2007-06-06 Thread Andrea Chiumenti
Igor, thx for replying, but I've two other questions Is stateful application or session scooped(I need an application scooped object) ? why stateful isn't documented in http://hivemind.apache.org/hivemind1/descriptor.html#invoke-factory ? On 6/6/07, Igor Drobiazko <[EMAIL PROTECTED]> wrote: We d

Re: injecting an object into a tap4.1.2 via hivemind

2007-06-06 Thread Igor Drobiazko
We do it like this: Service: Service implemantation Implementation of the menu builder Inject it into your page: @InjectObject("service:bookie.framework.MenuBuilder") public abstract MenuBuilder getMenuBuilder(); On 6/6/07, Andrea Chiumenti <[EMAIL PROTECT

Re: T4 question:

2007-06-06 Thread Hugo Palma
Try setting the translator binding to "translator:number,omitZero=true" See the section on translators here http://tapestry.apache.org/tapestry4.1/usersguide/validation.html Nazmul wrote: I'm trying to work through the chapter 3 of the book "Enjoy web development with Tapestry" This book usi

injecting an object into a tap4.1.2 via hivemind

2007-06-06 Thread Andrea Chiumenti
Hello, I've a simple quesition. I've built a menu component that is composed via hivemind configuration/contribution. What should I use to provide the menu tree to my application: 1) Sould I use a specific singleton service provided by the BuilderFactory 2) Inject the tree into tapestry.Infrastruc

T5: How to display an enum?

2007-06-06 Thread Martin Dietze
Hi, for enum-based select inputs I can use value encoders to get my enum's tags displayed correctly. Now I have a template in which I need to display an enum variable. How can I use a mechanism similar to the one for select inputs? Cheers, Martin -- --- / http://herbert.the-little-red

Re: (T 5.0.5 snapshot) "No root element has been defined"

2007-06-06 Thread Hugo Palma
I think i might have found an "interesting" behavior in component resolution. It seems that if you have a directory with the same name as the page itself, Tapestry won't find that page. So, it won't find pagetwo/PageTwo but it will find somepages/PageTwo. At least this is the behavior i'm getti

Re: T5 questions: adding my own initializations; outputing pre-formatted HTML; tree component; javadoc

2007-06-06 Thread Nick Westgate
2. In my existing application, I use a (folder-like) tree based on the www.dhtmlgoodies.com drag-drop-folder-tree. It is based on a standard HTML unordered list, which I generate in my page's java class. In the accompanying HTML file, I use "${formattedTree}" However, when I return the formattedTr

T4 question:

2007-06-06 Thread Nazmul
I'm trying to work through the chapter 3 of the book "Enjoy web development with Tapestry" This book using tapestry4.1.1 and pointed a bug alert: "BUG ALERT: In Tapestry 4.1.1 there is a bug in NumberTranslator. It will convert an empty string into 0, not null. This will get pass both the required