Re: Jetty lock on JS-files in classpath breaks eclipse autobuild

2009-10-28 Thread Luther Baker
I had this same problem - but it was solved with the useFileMappedBuffer=false solution. One difference was that I didn't change /etc/webdefault.xml - I actually copied webdefault.xml into my project and updated my pom file: org.mortbay.jetty maven-jett

Re: Switch from Prototype to jQuery?

2009-06-12 Thread Luther Baker
> > It would be very nice to have Tapestry components be more Javascript > framework agnostic, but pushing Howard (and the other committers too, they > exist!, hehehe) to do this and not working on other issues (after all, this > is all about fixing something that already works, just doesn't work a

Re: blog, wiki, chat, alert, poll components

2009-06-09 Thread Luther Baker
If you want to allow that much control - you are likely relegated to JSPs. -Luther On Tue, Jun 9, 2009 at 6:42 AM, Christian Senk < senk.christ...@googlemail.com> wrote: > But with this technique you replace only the stylesheets, > it is not possible in T5 to replace the generated HTML from sk

Re: Web framework evaluation - What is beautiful in Tapestry?

2009-04-26 Thread Luther Baker
I'll chime in and say the template engine (html template and Java class integration), the page pooling strategy and OO perspective that comes along with it, native hibernate integration and the clever state management between requests are all unique, out of the box and really help define the Tapest

Re: t:body

2009-03-31 Thread Luther Baker
On Tue, Mar 31, 2009 at 2:36 PM, Yancey Yeargan wrote: > > Tapestry 5.1 does handle this correctly. I checked by changing "" > to "" within the Layout.tml template of the quickstart example > project and it worked as expected. That is correct for 5.1.0.0, but this bug is specific to 5.1.0.1.

Re: t:body

2009-03-31 Thread Luther Baker
gt; > On Mon, Mar 30, 2009 at 9:28 AM, Luther Baker > wrote: > > For some reason, my brain likes to keep a consistent capitalization > strategy > > ... > > > > So, I've grown accustomed to > > > > t:Parameter > > t:ActionLink > > t:P

t:body

2009-03-30 Thread Luther Baker
For some reason, my brain likes to keep a consistent capitalization strategy ... So, I've grown accustomed to t:Parameter t:ActionLink t:PageLink and home/Index.tml, home/Index.java ... etc I just noticed that in my latest new project, I used in a layout template and I'm getting an error: Exc

Re: [T5.0.18] Class re-loading and eclipse debugger

2009-03-18 Thread Luther Baker
+1 @Robert to mvn jetty:run. Portable to other IDEs as well as from command line. -Luther On Wed, Mar 18, 2009 at 12:57 PM, Hugues Narjoux wrote: > "Are you on windows? what Maven plug-in version are you running? on Ubuntu > it doesn't do this (there are some configuration options on the pl

Re: jetty and intellij

2009-03-15 Thread Luther Baker
Thanks for all the suggestions. I'll try these out Monday morning. -Luther On Sat, Mar 14, 2009 at 7:29 PM, Angelo Chen wrote: > > Hi, > > I have similar problem in 8.0, but when I upgraded to 8.1, it went away, my > config is very simple, just add a Maven configuration, add jetty:run, > that's

Re: Q : IF component in tapestry 5 ?

2009-03-14 Thread Luther Baker
I believe that setting your chart type Strings in a SUBMIT event handler without persisting them - effectively does nothing for you. They will be reset to null before the successive page sees them. Unless you set your chart type in a "PRE" event of the successive page (onActivate ...) - I believe

Re: jetty and intellij

2009-03-13 Thread Luther Baker
es with transitive > relationships, is very, very good. I just want to get away from using > the build portion. > > On Fri, Mar 13, 2009 at 11:48 AM, Luther Baker > wrote: > > Thanks Richard. That helps and I'll take a look ... > > > > > > One bui

Re: jetty and intellij

2009-03-13 Thread Luther Baker
Thanks Richard. That helps and I'll take a look ... One build process. Cross platform. IDE agnostic. That is our motto. Our continuous integration / build process is IDE agnostic. Maven builds, runs and tests the app on Unix servers, windows boxes and Macs. Additionally, NetBeans has native supp

jetty and intellij

2009-03-13 Thread Luther Baker
I just fired up a new download of IntelliJ 8.1. Haven't used it much - so pulled an existing Maven/Tapestry project and created a "configuration" for jetty:run. That works great. Through the settings, I also associated *.tml files with an html filetype. Now, if I start the app all is well - but i

Re: T5: How to load image Asset from filesystem?

2009-03-12 Thread Luther Baker
Great example - similar to an example on the Wiki ... Note that 'createActionLink' was deprecated ... http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/ComponentResources.html#createActionLink(java.lang.String,%20boolean,%20java.lang.Object.. .) *Deprecated.* *Use createEventLink

Re: [T5] 5.1.0.1 RC, rendering of some views produces stacktrace

2009-03-12 Thread Luther Baker
One suggestion ... download and attach the source. You could step through from the beginning of the request (can be tricky to trace from the beginning with all the Javassist). Or - at a minimum, you could jump to AbstractMarkupModel.java:94 and work your way from there. -Luther On Thu, Mar 1

Re: Index Pages, 404s and Redirects

2009-03-12 Thread Luther Baker
Is there anyway you can leverage web.xml error handling for this? ... 404 errors/FourOhFour.tml java.lang.Throwable errors/throwable.tml ... IE: catch *specific *exceptions (what is thrown for missing pages, etc) and push them to a Tapestry

Re: img tag (src)

2009-03-11 Thread Luther Baker
Got it! thanks to both of you and the examples. Wow - onActivate can return an Object :) and nice to know about ComponentResources. -Luther On Wed, Mar 11, 2009 at 10:15 AM, Elmer Smith wrote: > I have a component based off of the example Thiago mentions. The just > of it is: > > - a page

Re: img tag (src)

2009-03-11 Thread Luther Baker
etc. I'll keep thinking about it - maybe I am just missing it. Thanks, -Luther On Wed, Mar 11, 2009 at 1:25 AM, Luther Baker wrote: > So I've embedded an img tag as follows: > > The url "image/Get/1" invokes page "image/Get" with an activation context > o

Re: img tag (src)

2009-03-10 Thread Luther Baker
Does that question make sense? Thanks, -Luther On Tue, Mar 10, 2009 at 5:06 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 10 Mar 2009 16:57:11 -0300, Luther Baker > escreveu: > > Am I'm looking for a render method that returns an Object - a

img tag (src)

2009-03-10 Thread Luther Baker
If I am storing an image in the database - and would like to display it in response to I've implemented the following examples: http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF and I've got that work fin

Re: cross field validation with empty fields

2009-03-09 Thread Luther Baker
Thanks Elmer. And ugh ... sorry for the previous typo "@Elmo", (Cool Beans was @Jonathan for his Bean example - but got out of order in this thread). -Luther On Mon, Mar 9, 2009 at 1:02 PM, Luther Baker wrote: > Cool beans. Literally :) > > > > On Mon, Mar 9, 2

Re: cross field validation with empty fields

2009-03-09 Thread Luther Baker
Cool beans. Literally :) On Mon, Mar 9, 2009 at 12:49 PM, Jonathan Barker < jonathan.theit...@gmail.com> wrote: > My experience was with 4.0. > > You want to look at the ValidationDelegate. > > @Bean > public abstract ValidationDelegate getDelegate(); > > // set up as listener for form > public

Re: cross field validation with empty fields

2009-03-09 Thread Luther Baker
uther I meant my latest suggestion to be @Ivano On Mon, Mar 9, 2009 at 12:44 PM, Luther Baker wrote: > That's a fine point to clarify. > > My underlying suggestion wasn't meant to imply which was the correct, > well-defined event to handle. This is the second post ... no

Re: cross field validation with empty fields

2009-03-09 Thread Luther Baker
..@gmail.com> wrote: > Em Mon, 09 Mar 2009 14:08:43 -0300, Luther Baker > escreveu: > > Oddly enough, it is NOT the validation handler I want to bring to your >> attention to (here on this validation.html page :) and again, obviously, >> this is Tapestry 5 - but noti

Re: cross field validation with empty fields

2009-03-09 Thread Luther Baker
I'm not familiar worth T4.1 but it seems to me that you could put something in the submit or success handler that validates. Take a look here - http://tapestry.apache.org/tapestry5/guide/validation.html and find the following snippet: public class Login { *String onSuccess() {

jetty, tapestry and realms

2009-03-08 Thread Luther Baker
Do Maven, Jetty, Realms and Tapestry play nice out of the box? App works just fine without any of the following - but after adding the below, I'm getting an error and I'm not sure what I'm missing. The error sure looks like it is *partly* working ... "FORBIDDEN" but the browser is NOT prompting me

Re: generics and pages, components and edit blocks

2009-03-08 Thread Luther Baker
lity going forward. There will not need to be a Tapestry 6." On Sun, Mar 8, 2009 at 9:41 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Sun, 08 Mar 2009 23:35:44 -0300, Luther Baker > escreveu: > > Yes. >> >> Maybe Tapestry 6 :) >>

Re: generics and pages, components and edit blocks

2009-03-08 Thread Luther Baker
Em Sun, 08 Mar 2009 15:46:19 -0300, Luther Baker > escreveu: > > Is there anyway to use generics as pages, components or edit blocks? >> > > No, because Tapestry uses the class name as URL. > > -- > Thiago H. de Paula Figueiredo > Independent Ja

generics and pages, components and edit blocks

2009-03-08 Thread Luther Baker
Is there anyway to use generics as pages, components or edit blocks? path/Edit vs path/Edit I'd imagine not - you'd have had to encoded the Generic type in the class and page names somehow and I've not seen anyone do that yet. -Luther

Re: Tabindex and accesskey in BeanEditForm?

2009-03-06 Thread Luther Baker
Take a look at Thiago's response to my *similar* question earlier today: http://www.nabble.com/t%3ATextField-and-t%3ATextArea-to22375618.html -Luther On Fri, Mar 6, 2009 at 3:25 PM, leechj wrote: > > Hello, > I was wondering if there was an easy way to add properties to fields in a > BeanEdit

t:TextField and t:TextArea

2009-03-06 Thread Luther Baker
Is there a global way to explicitly set or override *html *(non-CSS) attributes on tapestry components like textfield and textarea? For instance, in one particular app, I have to override almost all of my components with t:Parameters that define slightly custom sizes for these: textfield: size="1

Date Validation

2009-03-05 Thread Luther Baker
I have a Hibernate entity - which contains a java.util.Date. It displays just fine in a BeanEditor ... if I intentionally enter a mis-formatted date it correctly comes back highlighted in a RED outline etc. Then, *when I try to click on the CALENDAR icon *- it just keeps telling me the date is in

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread Luther Baker
Try adding @Persist to the destination class ... otherwise, I'm not sure you're guaranteed which page instance will get rendered. public class SendingActivationEmail { @Persist private String email; -Luther On Thu, Mar 5, 2009 at 7:10 PM, manuel aldana wrote: > Hi, > > I want to pass on

Re: @Inject'ing Generic Services

2009-03-04 Thread Luther Baker
Explicit discussion about generics and ioc eludes me on that page - but I'll keep looking around. Thanks. -Luther On Wed, Mar 4, 2009 at 7:01 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 04 Mar 2009 21:47:31 -0300, Luther Baker > escreveu:

@Inject'ing Generic Services

2009-03-04 Thread Luther Baker
The following is illegal Java ... so I cannot bind the following in my AppModule: binder.bind(ValueEncoder.class, GenericValueEncoder.class); binder.bind(ValueEncoder.class, GenericValueEncoder.class); binder.bind(ValueEncoder.class, GenericValueEncoder.class); bind

Re: PAGE Lifecycle vs COMPONENT render cycle

2009-03-04 Thread Luther Baker
ose to not follow them. Thanks for helping illuminate the path. Thanks, -Luther On Wed, Mar 4, 2009 at 2:00 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 04 Mar 2009 16:50:21 -0300, Luther Baker > escreveu: > > ... my encoder implements this m

Re: PAGE Lifecycle vs COMPONENT render cycle

2009-03-04 Thread Luther Baker
end here. -Luther On Wed, Mar 4, 2009 at 12:27 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 04 Mar 2009 13:52:22 -0300, Luther Baker > escreveu: > > If Block Edit isn't a page and it isn't a component ... is there a >> predictab

Re: PAGE Lifecycle vs COMPONENT render cycle

2009-03-04 Thread Luther Baker
> > Your encoder shouldn't depend on a pre-fetched list. Just fetch the encoded > object in your encoder. ... my encoder implements this method: public T toValue(String clientValue) So in my case, the encoder needs data from the database. I've spent cpu cycles in getModel() to pull a li

Re: PAGE Lifecycle vs COMPONENT render cycle

2009-03-04 Thread Luther Baker
oid pageAttached() is declared and implemented in the BlockEdit.java - and not literally the page. "declared it inside a page" confuses me. Does that long explanation make sense? I really appreciate all of your time and input. Sorry for the long, belabored windedness :) Thanks, -Luther On

Re: PAGE Lifecycle vs COMPONENT render cycle

2009-03-03 Thread Luther Baker
Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 04 Mar 2009 00:00:28 -0300, Luther Baker > escreveu: > > I took a look and found this page on COMPONENT rendering: >> http://tapestry.apache.org/tapestry5/guide/rendering.html and I tried the >> lit

PAGE Lifecycle vs COMPONENT render cycle

2009-03-03 Thread Luther Baker
I created an edit block - and wired up a GenericSelectModel. All is well and fine. I populate that select model with a query from the database - so now, I'd like to move that query from getModel or getEncoder to a lifecycle method. I took a look and found this page on COMPONENT rendering: http://

Re: An edit block issue ...

2009-03-03 Thread Luther Baker
et in it across requests? Thanks Thiago, -Luther On Tue, Mar 3, 2009 at 8:15 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 03 Mar 2009 23:10:46 -0300, Luther Baker > escreveu: > > Render queue error in BeforeRenderTemplate[initiative/BlockEdit:s

An edit block issue ...

2009-03-03 Thread Luther Baker
I've implement GenericSelectBlock and have a corresponding edit block defined. I've implemented a method to get the model for the t:Select component in the *.tml block: public AbstractSelectModel getModel() { List list = this.persistenceService.findAll(InitiativeConstants.DOMAIN_C

Re: GenericSelectOption

2009-03-03 Thread Luther Baker
...@gmail.com> wrote: > Em Tue, 03 Mar 2009 14:58:05 -0300, Luther Baker > escreveu: > > I have implemented this and which to display a special character in the >> drop down. ∋ >> > > A better solution would be to give Select an already Unicode-encoded string &

Re: GenericSelectOption

2009-03-03 Thread Luther Baker
ail.com> wrote: > Em Tue, 03 Mar 2009 14:58:05 -0300, Luther Baker > escreveu: > > I have implemented this and which to display a special character in the >> drop down. ∋ Only, whenever I return this via the 'toClient' method of >> the ValueEncoder for this, the re

GenericSelectOption

2009-03-03 Thread Luther Baker
I have implemented this and which to display a special character in the drop down. ∋ Only, whenever I return this via the 'toClient' method of the ValueEncoder for this, the result ends up being ∋ which prints miserably. Is there a different way to feed the String value into Tapestry such tha

Re: Enumeration - blankOption=NEVER

2009-02-28 Thread Luther Baker
Yes, that did it! Thanks Robert On Fri, Feb 27, 2009 at 3:32 PM, Robert Zeigler wrote: > Yes: make the field required. > > Robert > > > On Feb 26, 2009, at 2/268:07 AM , Luther Baker wrote: > > In a BeanEditForm, when displaying an enum member of a Hibernate En

Re: App Block

2009-02-28 Thread Luther Baker
the Type. > Greetings nillehammer > > Luther Baker schrieb: > > Is there a way to 'choose' which render block to use for a particular > > context? > > > > I have created a DISPLAY and an EDIT render block for a > GenericSelectModel > > based on a Hib

App Block

2009-02-27 Thread Luther Baker
Is there a way to 'choose' which render block to use for a particular context? I have created a DISPLAY and an EDIT render block for a GenericSelectModel based on a Hibernate table of values. In one context, a Hibernate entity holds a reference to this entity and terms it "Parent". In another co

Enumeration - blankOption=NEVER

2009-02-26 Thread Luther Baker
In a BeanEditForm, when displaying an enum member of a Hibernate Entity is there programmatic way to set blankOption="NEVER"? Or must I explicitly create a

Identifying

2009-02-24 Thread Luther Baker
If I am overriding several TextFields (longer size) - what for="???" do I use in the label? Do I need to add something extra to my Java class to accommodate this case? Otherwise, I get a bunch of duplicate ids on the page: Multiple or tags. Delete | Cancel

Re: App Block

2009-02-24 Thread Luther Baker
Object onSuccess() { Date now = new Date(); note.setCreatedOn(now); note.setLastModifiedOn(now); persistenceService.create(note); return ListNotes.class; } } *CreateNote.tml* http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> List Notes

Re: App Block

2009-02-24 Thread Luther Baker
n, Feb 22, 2009 at 8:17 PM, Luther Baker > wrote: > > I have written an application property block (per the BeanEditForm > tutorial) > > for a custom type. Is there a ideal event in the block component when I > can > > assign the property to the PropertyEditCon

t:beandisplay

2009-02-23 Thread Luther Baker
Using the t:beandisplay I noticed a subtle bug? Normally, empty fields get a label on the left and a   on the right. This keeps the spacing correct. E.g., my Hibernate Entity has two java.util.Date classes, createdOn and modifiedOn. When I display the Entity via t:beandisplay, the outer brown ba

App Block

2009-02-22 Thread Luther Baker
I have written an application property block (per the BeanEditForm tutorial) for a custom type. Is there a ideal event in the block component when I can assign the property to the PropertyEditContext? For instance, I have written a GenericSelectModel and it shows up correctly according to my custo

@Validate a user defined property

2009-02-22 Thread Luther Baker
I have a hibernate entity with a @ManyToOne mapping to another entity. public class Flight implements Serializable { @ManyToOne public Company getCompany() { return company; } ... } I successfully registered both a display and an edit block for this property so it renders

Re: Consistency Bug?? in BeanDisplay vs BeanEditForm

2009-02-18 Thread Luther Baker
ise a > new component for this purpose and change how contributions are made > to it. I'm afraid we're kind of stuck with it. > > On Wed, Feb 18, 2009 at 8:58 AM, Luther Baker > wrote: > > Ah ... so follow me here: > > > > A) For an Entity with simple Str

Re: Consistency Bug?? in BeanDisplay vs BeanEditForm

2009-02-18 Thread Luther Baker
change anything - I think I'm making a case to write my own first component(s)! Good food for thought! Thanks, -Luther On Wed, Feb 18, 2009 at 12:26 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 18 Feb 2009 13:58:46 -0300, Luther Baker > escreveu:

Re: Consistency Bug?? in BeanDisplay vs BeanEditForm

2009-02-18 Thread Luther Baker
Ah ... so follow me here: A) For an Entity with simple String properties, etc, both the t:BeanEditForm and the t:BeanDisplay render: * LABEL: {component-specific-value} LABEL: {component-specific-value} * B) If I add a t:Parameter called *whazoo* to either BeanDisplay or BeanEditForm I have expli

Re: rendering hibernate objects

2009-02-18 Thread Luther Baker
57 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 17 Feb 2009 20:25:49 -0300, Luther Baker > escreveu: > > I had to strip a few parameters out and print literals for now. My next >> question ... is how to get MY data into that class. >> &g

Consistency Bug?? in BeanDisplay vs BeanEditForm

2009-02-18 Thread Luther Baker
In the BeanEditForm, every t:Parameter I provide replaces the entire row ... there are not two columns. No key or label is present. Whatever I put in t:Parameter takes up the entire row. Whereas in BeanDisplay, every t:Parameter I provide gets forced into the second column. No matter what I do, th

Re: rendering hibernate objects

2009-02-17 Thread Luther Baker
M, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 17 Feb 2009 20:25:49 -0300, Luther Baker > escreveu: > > I had to strip a few parameters out and print literals for now. My next >> question ... is how to get MY data into that class. >> > > That

Re: rendering hibernate objects

2009-02-17 Thread Luther Baker
ext.propertyValue.name'). Available properties: class." Thoughts? Maybe how does my "Classification" object get here ... and how do I access it's properties ... and how do I attach translator ... or even a validator if I've not defined one? Thanks again, -Luther O

Re: rendering hibernate objects

2009-02-17 Thread Luther Baker
ght now - it is under the services directory (alongside AppModule and AppPropertyEditBlocks.java) and I've confirmed that it is in the TARGET directory. I really think this is a trivial error ... but I've moved those two files around to the pages dir, the components dir and the services di

Re: rendering hibernate objects

2009-02-17 Thread Luther Baker
t; { >configuration.add(new BeanBlockContribution("school", > "AppPropertyEditBlocks", "schoolViewBlock", > false)); > } > > (notice the false parameter now) > > Cheers, > > Uli > > Luther Baker schrieb: > > Thanks both o

Re: rendering hibernate objects

2009-02-17 Thread Luther Baker
} @Entity public class Classification implements Serializable, Identifiable, Comparable { private String name; ... @Override public String toString() { return this.name; } } -Luther On Tue, Feb 17, 2009 at 1:48 PM, Luther Baker wrote: > T

Re: rendering hibernate objects

2009-02-17 Thread Luther Baker
estry. > > With > > public static void > contributeBeanBlockSource(Configuration > configuration) > { > configuration.add(new BeanBlockContribution("school", > "AppPropertyEditBlocks", "schoolBlock", >true)); > }

rendering hibernate objects

2009-02-16 Thread Luther Baker
Given two hibernate objects and a many-to-one relationship school { name } student { firstname @ManyToOne school } I want to pass something like this into a BeanEditForm and have the it invoke school.toString() or possibly, school.getName(). I know I can add a t:Parameter to t:BeanEdi

beandisplay vs beanformedit

2009-02-16 Thread Luther Baker
Why does the following create a LEFT HAND cell that says "Edit:" and puts this t:Parameter on the right hand side edit while this entry leaves the entire additional row blank - no label or anything is displayed automatically. Delete Are they not both based

powered by

2009-02-15 Thread Luther Baker
Googling 'powered by Tapestry logo' bring back posts with dead links. Is there a current, official logo I can post on my pages for this?' -Luther

Re: intellij

2009-02-15 Thread Luther Baker
A strange factoid ... the reason I am even trying this is that this app stopped working for me (in Eclipse) yesterday afternoon and I wanted to triangulate the problem so I fired up intelliJ. I even downloaded NetBeans and initally, they all reported the same problem - missing TML files. I got it w

Re: intellij

2009-02-14 Thread Luther Baker
You were right - I dug a little deeper and found it had to be added in the settings. http://www.nabble.com/-T5--.tml-files-not-recognized-in-IntelliJ-td21616318.html Thanks much. -Luther On Sat, Feb 14, 2009 at 7:22 PM, Angelo Chen wrote: > > I think you have to update settings to include .t

intellij

2009-02-14 Thread Luther Baker
I just downloaded IntelliJ 8.1 and imported my maven project. It correctly identifies src/main/resources as a src directory and copies the .properties files to target/classes ... but leaves the .tml files out. I will check my POM - maybe my filter is doing this ... but thoughts? Thanks, -Luther

Login

2009-02-14 Thread Luther Baker
Is anyone aware of a code example integrating JSecurity with Tapestry5? I'm not sure how to best translate the HttpServletRequest type examples on the JSecurity site. I'm a bit put off by the ACEGI stuff ... but honestly not looked into it. Is there a Tapestry consensus to just use that approach?

Re: [T5] Struggling With Concepts

2009-02-13 Thread Luther Baker
>From your perspective, how does 'site' differ from the application context? -Luther On Fri, Feb 13, 2009 at 8:16 PM, xfile80303 wrote: > > Hello all, > > I've been struggling to understand the concepts surrounding T5 and have > reached a pinnacle of frustration while trying to implement a (s

Re: Hibernate ID

2009-02-09 Thread Luther Baker
Thank you Thiago. -Luther On Mon, Feb 9, 2009 at 8:53 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Mon, 09 Feb 2009 22:35:52 -0300, Luther Baker > escreveu: > > This is a little offtopic - so I apologize in advance but I'm building >> Tap

Hibernate ID

2009-02-09 Thread Luther Baker
This is a little offtopic - so I apologize in advance but I'm building Tapestry applications and have a Hibernate question that I'd like to pose here. Is there preferred type for simple Hibernate IDs? Simply stated, I'm asking about the two orthogonal choices: (native vs object, range or size) I

Re: t:Select

2009-01-19 Thread Luther Baker
Whoa nice. I missed the blankLabel parameter. Gracias Thiago - thanks for being such an active member here. -Luther On Jan 19, 2009, at 7:41 PM, Thiago H. de Paula Figueiredo wrote: Em Mon, 19 Jan 2009 21:23:45 -0300, luther.baker > escreveu: Now concerning, the first or *blank*value - I'd

Re: Blog post about Tapestry 5 - Project Structure

2008-12-23 Thread Luther Baker
Nice. On Mon, Dec 22, 2008 at 11:32 PM, Borut Bolčina wrote: > I made another post at > http://bbwebcraft.blogspot.com/ > Task 2 – Explore the Tapestry 5 project structure and learn where to put > your stuff > > I hope you don't consider this email as spam. > > Cheers, > Borut >

Re: T5: Proper project layout?

2008-12-18 Thread Luther Baker
For what it is worth, the directory structure you are referring to is really dictated by Maven and not Tapestry per-se. Normally, Maven build commands do not copy non-Java files from 'src/main/java' into the resulting archive. Per Maven convention, non-Java files that should end up in the classpat

t:Grid

2008-12-12 Thread Luther Baker
I have an Entity with a OneToOne relationship with another Entity. I'd like to render the entire Entity (and child Entity) as a row in a t:Grid. Per the classes at the bottom of this post, by default, the t:Grid displays fname and lname, I'd like it to display fname, lname, category.name. I'd jus

Entities referencing domain style Entities

2008-12-10 Thread Luther Baker
I have an entity that contains another entity - but this time, the contained entity table is quite finite - say, 10 rows. public class Category { private String name; } public class User { private String firstName; private String lastName; private Category category; } and in this case

Rendering Nested Entities

2008-12-10 Thread Luther Baker
Is there a relatively clean way to use a BeanEditForm and get a nested Entities properties to show up as inputs. public class Address { private String street; ... } public class User { private String firstName; private String lastName; private Address address; ... } Where

Re: passivate/activate

2008-12-09 Thread Luther Baker
l call the pages onActivate method to attempt restore the state > you wanted. > > Does that make sense? I know the labeling seems backwards, that's what > made > it hard for me to grasp - seems weird to passivate something that was never > activated! > > -james > > On

Re: passivate/activate

2008-12-09 Thread Luther Baker
alhost:8080/jumpstart/examples/navigation/whatiscalledandwhen > > > > Regardng pooling, you should assume the page instance you set up is > > NOT the same instance that will be rendered. > > > > Geoff > > > > On 09/12/2008, at 2:19 PM, Luther Baker wrote: >

passivate/activate

2008-12-08 Thread Luther Baker
Question about the flow. I GET ViewProject.tml with an activation context of "1" which invokes: ViewProject.onActivate(Integer projectId) I echo the projectId to the screen as a context for a CreateIssue pagelink. I visit or GET CreateIssue.tml which invokes: CreateIssue.onActivate(Intege

typo

2008-12-08 Thread Luther Baker
Just a small type on the Component Events page. I don't think the trailing ** is correct below .. http://tapestry.apache.org/tapestry5/guide/event.html Choose a number from 1 to 10: ${index}

Additional parameter for beaneditform

2008-12-08 Thread Luther Baker
Scenario: I am creating Projects and Issues under those projects and have a question about passing the projectid around. Project.tml Create New Issue CreateIssue.tml Q1: notice, I have to add the projectId parameter. Also, 'new

small typo

2008-12-08 Thread Luther Baker
Just a small typo at the bottom of the page: there is an opening square brace but no ending brace. http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/ActionLink.html [delete

Re: architectural question

2008-12-05 Thread Luther Baker
c 5, 2008 at 6:04 PM, Luther Baker <[EMAIL PROTECTED]> wrote: > Thanks - that worked just fine. > > -Luther > > > > On Fri, Dec 5, 2008 at 1:41 PM, James Hillyerd <[EMAIL PROTECTED]> wrote: > >> Look at the bottom of this page: >> >> http://tapestr

Re: architectural question

2008-12-05 Thread Luther Baker
with DAOs. > > -james > > On Fri, Dec 5, 2008 at 10:20 AM, Luther Baker <[EMAIL PROTECTED]> > wrote: > > > If I inject a Hibernate session into my DAO and have my Tapestry > Controller > > invoke that, is there a Tapestry way that I can tell hibernat

Re: Advantages of various .tml storage locations?

2008-12-05 Thread Luther Baker
@Jonathan That works for me. Maven clean and then install. I'm using Eclipse with M2 and Jetty plugins ... and have components and properties files that load correctly from the resources dirs --- so my src dirs were setup correctly. For whatever reason, after a Maven clean and install ... my page

architectural question

2008-12-05 Thread Luther Baker
If I inject a Hibernate session into my DAO and have my Tapestry Controller invoke that, is there a Tapestry way that I can tell hibernate to start and commit a transaction via annotations or configuration? IE: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/com

Re: AW: Advantages of various .tml storage locations?

2008-12-05 Thread Luther Baker
Assuming this: src/main/java/*com/X/app*/pages/Home.java This doesn't work for me: src/main/resources/*com/X/app*/pages/Home.tml Wherease, this works just fine: src/main/webapp/Home.tml Do I need to do something special to drop my pages in the resources dir or does this just work and I am

Re: modules

2008-12-04 Thread Luther Baker
#x27;s not HiveMind, its Tapestry 5 IoC. > > Yes, there's explicit configuration. > http://tapestry.apache.org/tapestry5/guide/conf.html > > On Thu, Dec 4, 2008 at 5:01 PM, Luther Baker <[EMAIL PROTECTED]> > wrote: > > I've create a simple Module class that h

modules

2008-12-04 Thread Luther Baker
I've create a simple Module class that has a static bind method. I've placed the class in the *.services package. package my.app.services; public class MyAppModule { public static void bind(ServiceBinder binder) { binder.bind(ProjectManager.class, SimpleProjectManager.class); } } In a di

Re: IE8 Compatibility Quick Fix

2008-10-22 Thread Luther Baker
I'm afraid this will be an unpopular suggestion - but does anyone else wish there was a little simpler, manual/direct control over the section of the page? Just my $0.02. -Luther On Wed, Oct 22, 2008 at 5:12 PM, samlai <[EMAIL PROTECTED]> wrote: > > Anybody knows how to do this? > > BTW, the

Re: css validation

2008-10-05 Thread Luther Baker
an RGB-value in my own version of T5. -Filip On 2008-10-05 20:12, Luther Baker wrote: Ah ... I guess the t-palette-controls are something specific to IE: I guess the color brown is not valid for a border? -Luther On Sun, Oct 5, 2008 at 1:07 PM, Luther Baker <[EMAIL PROTECTED]> wrote: Wer

Re: css validation

2008-10-05 Thread Luther Baker
Ah ... I guess the t-palette-controls are something specific to IE: I guess the color brown is not valid for a border? -Luther On Sun, Oct 5, 2008 at 1:07 PM, Luther Baker <[EMAIL PROTECTED]> wrote: > Were these CSS errors by chance fixed in 5.0.15? > > http://jigsaw.w3.or

css validation

2008-10-05 Thread Luther Baker
Were these CSS errors by chance fixed in 5.0.15? http://jigsaw.w3.org/css-validator/validator?uri=http://www.effectiveprogramming.com/ http://www.effectiveprogramming.com/assets/tapestry/5.0.14/default.css133 DIV.t-beaneditorValue Error : border

  1   2   >