Re: Components inside For component

2006-10-30 Thread pipothebit
Hello all and very thnak you for your reply, My level in this framework is beginer (and my english too, sorry). I go to explain me a litle bit more concise. I have a bean User that have a List of Rol object, in Java this is: public class User { private List rols = new ArrayList(); } With a

Getting a reference to Hivemind registry

2006-10-30 Thread B.S.Navin
Hi, I am adding a custom enhancement worker to my application, which enhances the PropertySelection to intialize a default model. As part of this, I needed to get a reference to the OGNLBindingFactory service (from HiveMind), so that I can create an OGNL binding. The normal approach to th

Re: [Tacos-devel] Tapestry+Tacos UI Ques... common tiled background image for all pages

2006-10-30 Thread Jesse Kuhnert
Do you mean something like ? body { background-image: url('image.jpg') } On 10/30/06, Ken nashua <[EMAIL PROTECTED]> wrote: Hi Folks, Given the array of options of doing things... I am annotation biased and prefer to define a base class that all my pages use that performs things via annot

Re: Tapestry+Tacos UI Ques... common tiled background image for all pages

2006-10-30 Thread Sam Gendler
I'm sure most of us use some form of Shell component to render a common template for every page which would include the declaration. Mine is almost always called 'Header' so every page has a wrapped around it. It doesn't involve the java class at all, since it is included via the template and/o

PageLink within a PageLink

2006-10-30 Thread Peter Dawn
guys, i am trying to implement a table cell which contains a image followed by some text. now i have this table td wrapped in a PageLink. However this pagelink does not work on the image within the table cell. i mean only the text acts as a hyperlink (taking me to a different page i want) but cli

Re: Tapestry UI Ques... common base classes usage ok?

2006-10-30 Thread Jesse Kuhnert
It's not dangerous or "bad" to add these things to a base class, though the "new and cool" way people are doing these things is by injecting hivemind services on an "as needed" basis. On 10/30/06, Ken nashua <[EMAIL PROTECTED]> wrote: Hi Folks, Given the array of options of doing things... I a

Re: Tapestry UI Ques... common base classes usage ok?

2006-10-30 Thread B.S.Navin
Hi Ken, You can use a base class. Just make your base class extend BasePage. In my project too, we use a custom base class, which does exactly what you described - abstract common code out. Using such a class, also helps when you may need to add some hooks into your processing (as many cal

RE: ANN: tacos 4.0.1 released

2006-10-30 Thread Peter Beshai
Tacos looks delicious. I noticed on the main page it says, "Most development efforts will now be shifted to converting the Ant-based build system to Maven2. A version compatible with Tapestry 4.1.x will then follow." Is there any update you can give us on how the work is coming for Tapestry 4.1

Re: using EnhancementWorkers for Specification Inheritance

2006-10-30 Thread Raul Cesar Teixeira
Mark, Did your enhancement worker finally work? I tried to implement your solution to the same problem I am having, but still no dice. I keep getting an error saying "Parameter location must not be null." How are you creating your ASO? I'm trying to create mine like this:

ThreadLocals for Hibernate in Tapestry 4.1

2006-10-30 Thread Bill Holloway
The Hibernate in Action book talks about using a servlet filter to handle their thread-localized HibernateUtil commitTransaction and closeSession calls. But Howard has talked about thread locals being handled deep inside hivemind. I've got Tapestry 4.1 and am using Hibernate but am not using Spr

Re: Problem with too long urls

2006-10-30 Thread Julian Sinai
Dario, Thanks for your reply. I tried this but it broke my application, and I couldn't find out why. However, I found another way to solve the problem. Thanks for the hint though. Julian - Original Message From: Darío Vasconcelos <[EMAIL PROTECTED]> To: Tapestry users Sent: Sunday,

Re: Problem with too long urls

2006-10-30 Thread Julian Sinai
Sam, thanks very much for the quick reply. I realized the DataSqueezer won't solve my problem because it only applies to forms. But I was able to shorten my URLs by passing the object's primary key to the DirectLink handler instead of the object itself. This fixed my problem. Regarding using D

Re: Components inside For component

2006-10-30 Thread Christian Haselbach
On Mon, Oct 30, 2006 at 08:46:41PM +, pipothebit wrote: > I add rols and delete (throught index property of For component) but my > rol values are not set during post, and when i go to save it to database > all items of rols List are empty (state is not saved). I do not really understand what

Re: Components inside For component

2006-10-30 Thread Jesse Kuhnert
Sorry if this isn't helpful, but that particular scenario sounds like the kind of thing that would be made much easier if you just used the Palette component: http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/palette.html On 10/30/06, pipothebit <[EMAIL PROTECTED]> wrote

Re: One component, multiple templates?

2006-10-30 Thread Jesse Kuhnert
For something like this I would do it this way: -) Write out your html as you would normally... -) For all messages define one basic css class name and set it on all of them. -) Create a more specific css class name for each message type. -) Create a simple method that returns a String of the

Re: setAttribute() fails.. (Tapestry 4.1)

2006-10-30 Thread Skorpien126
Addition: Unable to update OGNL expression '' of [EMAIL PROTECTED] to testname: java.util.ArrayList.null. So I´m not sure what he refers to.. i think refers to an component. I´m not sure how i can make a parameter value persistent in Tapestry 4.1 -- View this message in context: http://www.n

Re: ANN: tacos 4.0.1 released

2006-10-30 Thread Jesse Kuhnert
Awesome! Great work Andy (and everyone else that contributed). Can't really thank you enough for keeping at these things and not letting tacos languish in unfixed bugs. On 10/30/06, andyhot <[EMAIL PROTECTED]> wrote: *Tacos 4.0.1 was released a few hours ago. It's mainly a stability release fi

Components inside For component

2006-10-30 Thread pipothebit
Hello, I have a User entity, that entity can have many Rols (every rol is an object). To do this I have a For component that iterates over rols of User entity(it is declared as List()), and I select it thought PropertySelection component. I add rols and delete (throught index property of For compo

Re: One component, multiple templates?

2006-10-30 Thread Daniel Tabuenca
Why not use a paraamter on the MessagePane component? You can then use an @If component in your MessagePane to render the css differently depending on the value of the parameter. Am I not understanding correctly what you are trying to do? On 10/30/06, Shaun <[EMAIL PROTECTED]> wrote: Hello al

One component, multiple templates?

2006-10-30 Thread Shaun
Hello all, I'm trying to determine the best way to generate slightly different output for a component, based upon the parameters passed into it. For example, suppose I've created a component called MessagePane that displays a title and message inside of some CSS formatting: Unread Messages Depe

did the namespace for components change recently?

2006-10-30 Thread Patrick Moore
I have a component in the body of @For compnent that is suddenly complaining. It looks like it is seeing and processing the same annotation twice: Very frustrated... last week has been mostly going backwards... Error: An error occured processing annotation @org.apache.tapestry.annotations.Compon

Re: Using java 1.5 enums as property selection models

2006-10-30 Thread Martin Strand
Afaik, the type info isn't available at runtime for generic classes so it can't be done. On Mon, 30 Oct 2006 18:24:27 +0100, Stephanos Piperoglou <[EMAIL PROTECTED]> wrote: > andyhot <[EMAIL PROTECTED]> wrote on 30/10/2006 16:30:08: > >> However, Daniel has recently added this in the BeanForm.s

Re: Using java 1.5 enums as property selection models

2006-10-30 Thread Stephanos Piperoglou
andyhot <[EMAIL PROTECTED]> wrote on 30/10/2006 16:30:08: > However, Daniel has recently added this in the BeanForm.sourceforge.net > project. > See > http://beanform.sourceforge.net/beanform- > core/xref/net/sf/beanform/util/EnumPropertySelectionModel.html > > or get the beanform jar and add it

ANN: tacos 4.0.1 released

2006-10-30 Thread andyhot
*Tacos 4.0.1 was released a few hours ago. It's mainly a stability release fixing 2 subtle bugs and enhancing the ajax encoder (for very pretty and short ajax urls). Make sure to also check out the previously undocumented but powerful ajax-enabled Table component. Thanks to all that contribute

ANN: Tapestry Support for Netbeans 5.5

2006-10-30 Thread andyhot
Just released the first version of nbtapestrysupport ( https://nbtapestrysupport.dev.java.net/ ). It provides: * Hyperlink support in Tapestry configuration files for class names, files and libraries... CTRL+click everywhere!!! * Autocomplet

Re: [OT] Netbeans 5.5 mirrors?

2006-10-30 Thread andyhot
[EMAIL PROTECTED] wrote: > Anyone know of any mirrors for Netbeans 5.5? I'm getting around 9kb/sec from > the official site! :( > hehe... already got this ;) Make sure you also get mevenide2.3 (best maven2 integration i've seen for an IDE) and ofcourse our own https://nbtapestrysupport.dev.ja

Re: Using java 1.5 enums as property selection models

2006-10-30 Thread andyhot
The v.3 implementation is at http://svn.apache.org/viewvc/tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/form/EnumPropertySelectionModel.java?view=markup However, Daniel has recently added this in the BeanForm.sourceforge.net project. See http://beanform.sourceforge.net/b

Re: maven-skin 1.1-SNAPSHOT

2006-10-30 Thread Patrick Moore
thanks for your quick response! On 10/30/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Oops? It's out/visible now. On 10/30/06, Patrick Moore <[EMAIL PROTECTED]> wrote: > > With all the problems with maven recently ... I find I can't build > tapestry from svn because I am missing the maven-skin

[OT] Netbeans 5.5 mirrors?

2006-10-30 Thread Greg.L.Cormier
Anyone know of any mirrors for Netbeans 5.5? I'm getting around 9kb/sec from the official site! :( Thanks, Greg

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-30 Thread Carfield Yim
On 10/30/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: You set up your workspace to look like a deployed WAR to a point. You should not have a ...workspace/.../WEB-INF/lib What happens is that the JARs end up on the classpath twice: Once because they are on Eclipse's project classpath, then

Re: maven-skin 1.1-SNAPSHOT

2006-10-30 Thread Jesse Kuhnert
Oops? It's out/visible now. On 10/30/06, Patrick Moore <[EMAIL PROTECTED]> wrote: With all the problems with maven recently ... I find I can't build tapestry from svn because I am missing the maven-skin 1.1-SNAPSHOT. I see the 1.0 version but can anyone point me in the direction of the 1.1 ver

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-30 Thread Howard Lewis Ship
You set up your workspace to look like a deployed WAR to a point. You should not have a ...workspace/.../WEB-INF/lib What happens is that the JARs end up on the classpath twice: Once because they are on Eclipse's project classpath, then a second time when Jetty creates a class loader for the WAR

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-30 Thread Carfield Yim
On 10/30/06, nard man <[EMAIL PROTECTED]> wrote: That plugin appears to work best if jars are *not* located in WEB-INF/lib. My preference is just manually remove the jars /WEB-INF/lib at classpath config dialog box at eclipse. --

Re: Using Jetty 5.1.1 for simple project: hivemodule.xml being duplicated

2006-10-30 Thread nard man
That plugin appears to work best if jars are *not* located in WEB-INF/lib. Just put them somewhere else in the project and add them to the project build path and the plugin will work ok. When you build a war file for production deployment, use ant to ensure the jars are in WEB-INF/lib. On 10/2

Tapestry UI Ques... common base classes usage ok?

2006-10-30 Thread Ken nashua
Hi Folks, Given the array of options of doing things... I am annotation biased and prefer to define a base class that all my pages use that performs things via annotation if possible. 1. I wonder what a base class would do to interfere with tapestry's core processing though especially with r

Tapestry+Tacos UI Ques... common tiled background image for all pages

2006-10-30 Thread Ken nashua
Hi Folks, Given the array of options of doing things... I am annotation biased and prefer to define a base class that all my pages use that performs things via annotation if possible. 1. Is there a preferred way of implementing a common tiled background image for all pages in any given webap

Re: Re: tapestry-acegi questions

2006-10-30 Thread Robin Ericsson
On 10/30/06, Gareth <[EMAIL PROTECTED]> wrote: hi, I'm using the TableView component on what can be visulised as a search page. Hi, Please don't steal other threads with a new question. -- regards, Robin - To

Re: Re: tapestry-acegi questions

2006-10-30 Thread Gareth
hi, I'm using the TableView component on what can be visulised as a search page. The whole page is wrapped in a form (so that the paging buttons etc submit the search criteria), and the Form version of TableRow and TablePages are used. Everything appears to work except... I have 2 gripes that

Using java 1.5 enums as property selection models

2006-10-30 Thread Stephanos Piperoglou
Apparently there was an EnumPropertySelectionModel in Tapestry 3 that was dropped in version 4 due to namespace conflicts. Is there any contributed or official replacement or should I just roll my own (and possibly submit it)? To clarify, I need an implementation of IPropertySelectionModel that

maven-skin 1.1-SNAPSHOT

2006-10-30 Thread Patrick Moore
With all the problems with maven recently ... I find I can't build tapestry from svn because I am missing the maven-skin 1.1-SNAPSHOT. I see the 1.0 version but can anyone point me in the direction of the 1.1 version? -Pat - To

setAttribute() fails.. (Tapestry 4.1)

2006-10-30 Thread Skorpien126
Hi.. I have a problem but i cant find out whats wrong.. (.. i also feel not really good). I have a page defining a table (persist property in page).. for each entry in the table i use the same component to visualize. in the page definition i use a "@For" component to write all. it looks like