Re: weird ognl problem

2006-05-04 Thread Dan Adams
t sure > if that actually works...). > > P > > On May 4, 2006, at 4:10 PM, Dan Adams wrote: > > > Okay, I'm getting some weirdness with ognl. I have a component with 2 > > parameters: > > > > @Parameter(defaultValue="true") > &g

weird ognl problem

2006-05-04 Thread Dan Adams
nl:preContent" I get a "no property" exception and if I do "ognl:getPreContent()" I get a "no method" exception. But if I do "ognl:showMessages" or "ognl:isShowMessages()" those both work. Any ideas? Is tapestry not enhancing the class correctl

[OT] coberta code coverage on tapestry component classes with maven 2

2006-05-03 Thread Dan Adams
that runs a web app and uses html unit to test them. Anyone know of a way that I can have cobertura include the results from the integration tests when calculating coverage for the modules? -- Dan Adams Software Engineer Interactive Factory 617.235.5857

tapestry documentation generation for maven 2

2006-05-03 Thread Dan Adams
Does anyone know of some useful plugins for generating tapestry/hivemind related documentation when generating a site in maven 2, specifically for generating component docs? -- Dan Adams Software Engineer Interactive Factory 617.235.5857

preventing multiple form submittions

2006-04-12 Thread Dan Adams
${submitted} = true; return ret; } ]]></body> <initialization><![CDATA[ Tapestry.onsubmit('${form.name}', ${checkSubmit}); ]]></initialization> -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] test case for pages that email

2006-04-10 Thread Dan Adams
: [OT] test case for pages that email > > So, make your page call a service which does all the work. Then, you can > easily test a service object outside the container using mock objects. > > -Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Monda

RE: [OT] test case for pages that email

2006-04-10 Thread Dan Adams
; I would use MockObjects for this and the second line would be something > like: > > emailService.sendEmail( params ); > > Then, you give it a mock emailService and make sure it calls it. > > -----Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Monday

Re: [OT] test case for pages that email

2006-04-10 Thread Dan Adams
27; on line N displayed it, it's probably a safe bet > that the code on line N+1 executed... > > -Mike > > On 4/10/06, Dan Adams <[EMAIL PROTECTED]> wrote: > > No no. Okay lets say I have some code in the page that does this: > > > > displayMessage(); >

RE: [OT] test case for pages that email

2006-04-10 Thread Dan Adams
your emails, you can be pretty sure that the emails will go > out if your mail server is available and configured properly. > > -----Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Monday, April 10, 2006 10:50 AM > To: Tapestry users > Subject: Re: [OT]

Re: [OT] test case for pages that email

2006-04-10 Thread Dan Adams
> let the user know it worked? > > -Mike > > On 4/10/06, Dan Adams <[EMAIL PROTECTED]> wrote: > > Okay, I have a page that, when submitted, sends an email. Now the page > > uses a service via interface that actually does the emailing and that > > service is te

[OT] test case for pages that email

2006-04-10 Thread Dan Adams
doesn't effect the page in any way that i can test for using htmlunit? Does anyone know of a lightweight mail server analogous to jetty/hsqldb that i could use for testing? -- Dan Adams Software Engineer Interactive Factory ---

where to init persistent properties between pageAttached() and pageBeginRender()?

2006-04-05 Thread Dan Adams
has been done? There are a couple pages where if you are not logged in and click a link (or if your session expires) then it causes an NPE while what should happen is that the page validation redirects back to the login page. -- Dan Adams Software Engineer Interactive Factory

pageAttached() and validate()

2006-04-05 Thread Dan Adams
d for reliable init before a page render? pageBeginRender? Thanks. -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

writing new annotations

2006-04-04 Thread Dan Adams
There are a couple annotations that would be very useful for our system, but would not really fit into the tapestry framework as a whole. Is there a wiki page on how to do this or something? -- Dan Adams Software Engineer Interactive Factory

Re: forcing a page out of the object pool

2006-04-03 Thread Dan Adams
class with the > attributes? and how you declare the ones that are persisted. > > On 4/3/06, Dan Adams <[EMAIL PROTECTED]> wrote: > > > > I have a view page that has a bug in it because one of the properties > > should be persisted (or ignored) and is not. Now I'm trying

forcing a page out of the object pool

2006-04-03 Thread Dan Adams
test case. -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: inserting unicode characters?

2006-03-31 Thread Dan Adams
> > -Mike > > On 3/30/06, Dan Adams <[EMAIL PROTECTED]> wrote: > > What component should I use to insert a raw block of text that is UTF8 > > and has some unicode characters in it? I see that markupwriter says it > > translates unicode into html entities but @

inserting unicode characters?

2006-03-30 Thread Dan Adams
What component should I use to insert a raw block of text that is UTF8 and has some unicode characters in it? I see that markupwriter says it translates unicode into html entities but @Insert converts the value to a char[] before writing it. -- Dan Adams Software Engineer Interactive Factory

lazy hibernate property loading in an engine service

2006-03-29 Thread Dan Adams
sloader or something? I also checked that at the same place where it loads the data that I can do other database operations so it's not like I lost my session or something. Can anyone help? -- Dan Adams Software Engineer Interactive Factory -

Re: promoting Tapestry

2006-03-23 Thread Dan Adams
it's not the right thing to > learn because there's no jobs for it . > > On 3/22/06, Dan Adams <[EMAIL PROTECTED]> wrote: > > I think it's interesting that struts got more votes than JSF. Knowing > > the amount of code it takes to do anything in JSF I mig

Re: promoting Tapestry

2006-03-22 Thread Dan Adams
body to speak about Tapestry more frequently on occasions and > this way we all will benefit from wider Tapestry adoption. > > > Konstantin Ignatyev -- Dan Adams Software Engineer Interactive Factory -

Re: max file upload size

2006-03-21 Thread Dan Adams
sruptive change and I also see the > benefit. > > > On 3/21/06, Dan Adams <[EMAIL PROTECTED]> wrote: > > > > In my application I have to upload large files (> 10m). I found posts on > > gmane about having to re-implement MultipartDecoderImpl just so you can &

max file upload size

2006-03-21 Thread Dan Adams
ike I'll have to copy & paste (yuck!) the decode method to change it. -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

base tag and using anchors

2006-03-21 Thread Dan Adams
We are having a problem with using a # anchor link in a page because it resolves the # relative to the base tag that the @Shell component puts in the head. Is there a way around this? -- Dan Adams Software Engineer Interactive Factory

Easy way to reference renderblock parameters?

2006-03-06 Thread Dan Adams
Anyone have an easier way to renderblock informal parameters than: ognl:components.blockname.getParameter('paramname') ? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROT

messages in T4 validators

2006-03-01 Thread Dan Adams
In the Validator.validate() method you get passed a ValidationMessages instance. How do I have my validation messsages included in ValidationMessages so I can use them in my validator? -- Dan Adams Software Engineer Interactive Factory

Re: libraries, messages, and namespaces (does nobody know this one?)

2006-02-23 Thread Dan Adams
Does anyone have an answer to this? I still don't know how to resolve it. On Wed, 2006-02-22 at 17:00 -0500, Dan Adams wrote: > Is it possible to have it so that if a message that is referred to in a > library and is not in the library messages catalog that it be looked up >

[way OT] jetty and stop.port

2006-02-22 Thread Dan Adams
would be greatly appreciated. -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

libraries, messages, and namespaces

2006-02-22 Thread Dan Adams
d not finding it, it just gives up. any ideas? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

up/down arrows on contrib:Table

2006-02-22 Thread Dan Adams
time the component is used. Any ideas? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] using a tapestry-subproject to test in maven

2006-02-21 Thread Dan Adams
something? I would like it so that the sub-project has it's own set of dependencies that are not bundled. Thanks. -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

generating component documentation

2006-02-21 Thread Dan Adams
I know someone mentioned something about this being worked on a while ago, but is there a good way to generate html docs for T4 components? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL

pages inside a component library?

2006-02-17 Thread Dan Adams
Is it possible to package a page inside a component library? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] eclipse, jetty, and classpath

2006-02-17 Thread Dan Adams
or > distribution is prohibited. If you are not the intended recipient, please > contact the sender by reply e-mail and destroy all copies of the original > message > > -Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Friday, February 17, 2006

[OT] eclipse, jetty, and classpath

2006-02-17 Thread Dan Adams
work. the only thing i've got to work is exporting the other project into a jar and putting it in /WEB-INF/classes. any ideas? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTE

ASO's and hibernate sessions

2006-01-27 Thread Dan Adams
Okay, I'm using session-per-request with hibernate and in my aso I have an object that associates the user with a school. Does anyone know of a good way of re-associating the school with the current session on each request or making sure it's in the session? -- Dan Adams Softwar

Re: [OT] anyone in boston?

2006-01-21 Thread Dan Adams
Well, I've been living in boston since June and have been using tapestry since about July (and am loving it btw). On Sat, 2006-01-21 at 14:16 -0800, Howard Lewis Ship wrote: > Geez; why didn't I hear from you before I left? > > On 1/21/06, Dan Adams <[EMAIL PROTECTED]&g

[OT] anyone in boston?

2006-01-21 Thread Dan Adams
Even though Howard has left Bostonia, anyone else still here that uses tapestry? I'm over near the childrens museum. -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

localizing table headers

2006-01-21 Thread Dan Adams
erties and putting them in the same place as the page template and it still uses the global .properties. -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: sorting table columns in hibernate

2006-01-20 Thread Dan Adams
If the table name is City what would it be? Because if I try setting the value to City.state.name then I would get back "could not resolve property: City of com.domain.City". The way it is selecting it is basically by using session.createCriteria(City.class).addOrder(Order.asc("City.state.name"))

sorting table columns in hibernate

2006-01-20 Thread Dan Adams
te saying "could not resolve property: state.name". Is there a way to do this? Right now I have to make columns like this unsortable but it would be nice if they were sortable. -- Dan Adams Software Engineer Interactive Factory -

table column header labels and id's

2006-01-12 Thread Dan Adams
Is there a way of specifying a message key for a column and have it be different than the column id? For instance, the format given in Kent's book is id:title:ognl but when you do that does it check for title as a message key? -- Dan Adams Software Engineer Interactive Fa

Re: dealing with optimizing ASOs

2006-01-03 Thread Dan Adams
j that I don't know about. (which is a lot > ;) ) > > On 1/3/06, Dan Adams <[EMAIL PROTECTED]> wrote: > > > > hmmm. maybe my question was confusing. > > > > my problem is that when the aso is created i inject my dao service. but > > if the aso i

Re: dealing with optimizing ASOs

2006-01-03 Thread Dan Adams
null) > > s = MySessionFactory.openSession(); > > Object MyReloadedObject = s.load(MyClass.class, MyId); > > > > --- Pat > > > > > -Original Message- > > > From: Dan Adams [mailto:[EMAIL PROTECTED] > > > Sent:

RE: dealing with optimizing ASOs

2006-01-03 Thread Dan Adams
, Patrick Casey wrote: > Can't you just get a new session e.g. > > Session s = getSession(); > If (s == null) > s = MySessionFactory.openSession(); > Object MyReloadedObject = s.load(MyClass.class, MyId); > > --- Pat > >

dealing with optimizing ASOs

2006-01-03 Thread Dan Adams
ave the service. Anyone have a good solution to this? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Testing Tapestry 4 applications

2005-12-21 Thread Dan Adams
Yeah I'm the only developer on this and I've found that using htmlunit with tdd has helped a lot to keep development speed high. without tdd it would take much longer. On Wed, 2005-12-21 at 18:46 +0100, Pedro Abelleira Seco wrote: > We also have high-level methods for the particular components of

Re: Testing Tapestry 4 applications

2005-12-21 Thread Dan Adams
I looked at httpunit before it seemed to be that htmlunit is simply one abstraction layer above that so that you can test using the DOM and not have to deal with the low-level http stuff. i've found that with htmlunit you can write tests very very easily be writing utility functions on top of htmlu

Re: Testing Tapestry 4 applications

2005-12-21 Thread Dan Adams
Cheers, > Ron > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Dan Adams Software Engineer Interactive Factory - To unsubsc

Re: [DISCUSS] JDK 1.5 for Tapestry 4.1?

2005-12-20 Thread Dan Adams
training, mentoring, support > and project work. http://howardlewisship.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Dan Adams Software Engineer Interactive Factory

Re: custom exception page only in production

2005-12-20 Thread Dan Adams
on trace and > tapestry error info on it, so developers can see it and final users only > a "Internal error" message. I don't know if that is what you are looking > for. > > We used a JVM system property to do that. > > Pedro > > El Mar, 20-12-2005 a las

custom exception page only in production

2005-12-20 Thread Dan Adams
I found lots of great info on how to create a custom exception page, but I'm wondering if anyone has a good way to make the custom error page only appear in a production deploy and not in a testing deploy. -- Dan Adams Software Engineer Interactive Fa

Re: Tried JSF ... Tapestry Rocks!!!

2005-12-20 Thread Dan Adams
? Not extend BasePage anymore. > Couldn't it use dynamic bytecode enhancing to create a proxy that implements > page? Those are only ideas ;) > > Regards -- Dan Adams Software Engineer Interactive Factory

dialog boxes?

2005-12-08 Thread Dan Adams
find myself in the position where I need to create essentially a dialog box in a popup window that has a selected list of images and an ok/cancel button. Anyone know of pre-existing stuff that could help with this or should I roll my own? -- Dan Adams Software Engineer Interactive Factory

scrollable list component?

2005-12-08 Thread Dan Adams
Is there a component out there somewhere (i looked around in tassel but didnt anything) to have a list of items (in my case they will be image thumbnails) that are scrollable and when an item is selected it gets highlighted? Is there a proper name for this kind of component? -- Dan Adams

Re: direct links and requiring login

2005-12-08 Thread Dan Adams
/tapestry/tapestry/apidocs/org/apache/tapestry/callback/DirectCallback.html > http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/callback/ExternalCallback.html > > Dan Adams wrote: > > >Okay, it's fairly simple to put code in validate() to check if a user is >

Re: direct links and requiring login

2005-12-08 Thread Dan Adams
back.html > http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/callback/ExternalCallback.html > > Dan Adams wrote: > > >Okay, it's fairly simple to put code in validate() to check if a user is > >logged in and then redirect them back with a callb

Re: Tapestry, swing, and ajax

2005-12-08 Thread Dan Adams
u, 2005-12-08 at 09:06 -0600, Leonardo Quijano Vincenzi wrote: > Dan Adams wrote: > > Not sure if you guys saw this in TSS but it looks interesting. It's > > another web framework based on swing. It's got some neat features to it > > like drag and drop (non-ajax)

direct links and requiring login

2005-12-08 Thread Dan Adams
Okay, it's fairly simple to put code in validate() to check if a user is logged in and then redirect them back with a callback after logging in. But this only works for the page service. Is there a way of doing this for other services, particularly the direct and external services? -- Dan

Tapestry, swing, and ajax

2005-12-08 Thread Dan Adams
-wings.org/snipsnap/space/Welcome demo: http://demo.j-wings.org/wingset/WingSet/ -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

@Persist in components

2005-12-08 Thread Dan Adams
boolean property and page B also contains an instance of @Comp. Is it possible to set the property to true in A but to false in B? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For

contrib:Table columns and labels

2005-12-07 Thread Dan Adams
Is there a way to bind a column to one thing and then specify the key for looking up the label as something else? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [very OT] tools for migrating database

2005-12-06 Thread Dan Adams
code but haven't > bit off that particular bullet yet. It's not complicated, it's just ... > tedious and there's always something more important to work on in my > experience. > > So if you find a good solution, I'd love to hear it, but in the > int

[very OT] tools for migrating database

2005-12-06 Thread Dan Adams
) without blowing away the data? I currently use mysql on both servers but am planning on moving the test server to hsqldb at some point it can't be a server specific tool. Any ideas? -- Dan Adams Software Engineer Interactive Fa

using a template in a form component

2005-12-06 Thread Dan Adams
is there any way to use a template when creating a form component? I have a textarea and then want to put a link after it. -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: rendering links in a form component

2005-12-05 Thread Dan Adams
).getService( > Tapestry.DIRECT_SERVICE).getLink(cycle, this, > > parameters).getURL(); > > --- Pat > > > > -----Original Message- > > From: Dan Adams [mailto:[EMAIL PROTECTED] > > Sent: Monday, December 05, 2005 8:46 AM > > To: Tapestry users > > Su

RE: rendering links in a form component

2005-12-05 Thread Dan Adams
> parameters).getURL(); > > --- Pat > > > > -----Original Message- > > From: Dan Adams [mailto:[EMAIL PROTECTED] > > Sent: Monday, December 05, 2005 8:46 AM > > To: Tapestry users > > Subject: rendering links in a form component > > > > if i have

rendering links in a form component

2005-12-05 Thread Dan Adams
if i have a form component that it's rendering using the writer, how would I go about rendering a directlink within it? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: daydreaming of tapetry and ajax

2005-12-01 Thread Dan Adams
very rough estimate, how far do you think tacos and tapestry are from this kind of thing? what are the major limitations blocking it? On Thu, 2005-12-01 at 15:31 -0500, Jesse Kuhnert wrote: > I think the tacos4 approach has changed from 3.0.3 in kind of an apples and > oranges sort of way. The thi

Re: daydreaming of tapetry and ajax

2005-12-01 Thread Dan Adams
well, i'm not expecting ajax to take over the world or replace the normal webapp any time soon. however, i think that there are many situations where ajax could be a great fit and i'm excited by the fact that tapestry is posed to be one of the first frameworks to enable easy(er) ajax app developmen

daydreaming of tapetry and ajax

2005-12-01 Thread Dan Adams
apps that are almost like normal gui apps for the web? Is this something that could be accomplished with an additional library or is it so much of a change that it warrants a new framework? -- Dan Adams Software Engineer Interactive Factory

[OT] Favorite testing tools

2005-11-23 Thread Dan Adams
nyone seen any real improvement using other tools? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tapestry statistics

2005-11-19 Thread Dan Adams
Does anyone have any data or statistics about how much code you don't have to write using things like annotations as opposed to normal java code where you don't have runtime enhancement? I can go get some stats from my code but thought I would check just in case. Any other statistics would also

injeting hivemind stuff into spring beans

2005-11-15 Thread Dan Adams
Anyone know how to do this? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

getting the host name

2005-11-15 Thread Dan Adams
How can i get the hostname of the current page (ie www.mycompany.com)? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Injecting Messages with spring

2005-11-14 Thread Dan Adams
Any way to inject the Messages (ie from getMessages()) into a spring bean? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

hivemind interceptors for page validation

2005-11-10 Thread Dan Adams
Is it possible to use interceptors for page validation rather than writing the validation stuff into the page itself and if so could someone give a point in the right direction? -- Dan Adams Software Engineer Interactive Factory

RE: [OT] Debugging components in eclipse

2005-11-10 Thread Dan Adams
Like I said, that works fine when I write the code but if you try to set a breakpoint in one of the **TAPESTRY** components it doesn't work even if you have the src jar attached. On Thu, 2005-11-10 at 09:53 -0800, Patrick Casey wrote: > What version of eclipse and Tapestry are you on? I have

RE: [OT] Debugging components in eclipse

2005-11-10 Thread Dan Adams
getters > and setters, of couse, but if you use concrete properties, you're golden. > > --- Pat > > > -Original Message- > > From: Dan Adams [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 09, 2005 1:23 PM > > To: Tapestry users >

[OT] Debugging components in eclipse

2005-11-09 Thread Dan Adams
Anyone know how to debug the components in eclipse? When you a breakpoint in a component gets hit eclipse tries to load up the source for the enhanced component and won't use the tapestry source i have attached. -- Dan Adams Software Engineer Interactive Fa

ValidatorMessages

2005-11-09 Thread Dan Adams
What is the source for the ValidatorMessages and how do you add messages to it when creating a validator? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

PopupLinkRenderer broken in beta12?

2005-11-08 Thread Dan Adams
I upgraded to b12 from b11. I have a page that uses a popuplinkrenderer but constructURL() is never called and the link that is rendered is a normal one. What's the deal? -- Dan Adams Software Engineer Interactive Factory ---

Re: circular references to components?

2005-11-07 Thread Dan Adams
Man, this is taking way too long. I have the following. The line marked with contains an @If. I set a breakpoint in showChildren() and after it evaluates to true it doesn't get called by @If again (!?). This basically means that if a menu item is selected then all of it's children act as if th

Re: circular references to components?

2005-11-04 Thread Dan Adams
ap.get(new Integer(0)); // 0 is the root > else > items = (List) personMap.get(new Integer(item.getId())); > return items; > } > > Also, please make sure you use a recent beta -- I am not sure your code > would work in an old one. > >

Re: circular references to components?

2005-11-04 Thread Dan Adams
Hey, can you explain a little more how the below works? Right now I'm trying to get something similar working but for some reason it's going into an infinite loop in that it keeps asking for the children of the root node rather than actually drilling down. On Fri, 2005-11-04 at 22:09 +0200, Mind B

Re: circular references to components?

2005-11-04 Thread Dan Adams
have to use Block/RenderBlock see : > > > http://www.behindthesite.com/blog/C1931765677/E923478269/index.html > > > Mike > > On Friday, November 04, 2005, at 10:18AM, Dan Adams <[EMAIL PROTECTED]> wrote: >

circular references to components?

2005-11-04 Thread Dan Adams
Can tapestry not handle the case where @A uses @B and @B uses @A? or Even if @A uses @A? I'm getting stackoverflow because it keeps reprocessing the template for @A. -- Dan Adams Software Engineer Interactive Factory ---

component-based navigation

2005-11-04 Thread Dan Adams
advice on how to design it? I'm having some real trouble with this in that a @NavItem can't know about it's child @NavItems because the children are rendered after the parent. Any ideas would be greatly appreciated. -- Dan Adams Software Engineer Inte

localizing enums

2005-11-03 Thread Dan Adams
How do people normally localize an enum? Store the key as the string and then look up the message when needed? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Image links

2005-10-28 Thread Dan Adams
on why this would > have changed from tap3? > > -- > ~chris > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Dan Adams

Re: @Persist and custom code

2005-10-28 Thread Dan Adams
at delegates to the > Tapestry-generated property. > > Be aware that Tapestry will invoke the setter method when restoring > page state (when a page is first loaded during a request). > > On 10/28/05, Dan Adams <[EMAIL PROTECTED]> wrote: > > Okay I have a property that I want

RE: @Persist and custom code

2005-10-28 Thread Dan Adams
; public void setSelectedEntry(Entry selectedEntry) { > this.selectedEntry = selectedEntry; > } > > If that doesn't work for you let me know. > > --Mark > > -Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sen

RE: @Persist and custom code

2005-10-28 Thread Dan Adams
do something other than just return the property > variable? > > You can probably create the actual property along with getters and > setters and specify that it is persistence in the .page file. > > I'm not sure if there is a way to do it in the .java file. > > --Ma

@Persist and custom code

2005-10-28 Thread Dan Adams
Okay I have a property that I want as @Persist but I also want to run some code when that method is called. Any way of doing this? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED

refactoring common code/html

2005-10-26 Thread Dan Adams
refactor is just the content within the border. I've thought about pulling BaseSearch out into a component but then I lose all of the functionality provided by the page superclasses that BaseSearch currently subclasses. Any suggestions here? -- Dan Adams Software Engineer Interactive Fa

for loops?

2005-10-26 Thread Dan Adams
I just realized this. How do you do for loops? Doesn't look like @For would do it. hmm -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: Deleting rows in Tapestry contrib:Tables

2005-10-26 Thread Dan Adams
ache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered >(ListenerMap.java:102) >- org.apache.tapestry.link.DirectLink.trigger(DirectLink.java:119) > > ... > > Thanks again for your advise, > -- > Omar V.M. -- Dan Adams Software Engineer Interactive Factory

[OT] [POLL] Favorite bug tracking system

2005-10-26 Thread Dan Adams
What is your favorite bug tracking system for small and medium sized projects and why? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: PopupLink nullpointer exception

2005-10-25 Thread Dan Adams
Well, I was using it in a component that did not render in rewind so it didn't end up being a problem. So, no, I did not get a solution for it. On Tue, 2005-10-25 at 16:00 -0200, Vinicius Carvalho wrote: > hum, did you get a solution for it? > > On 10/25/05, Dan Adams <[EMAIL

Re: PopupLink nullpointer exception

2005-10-25 Thread Dan Adams
t; > could someone help me here? > > > -- > Vinicius Caldeira Carvalho > Arquiteto de Sistemas > [EMAIL PROTECTED] > www.synos.com.br <http://www.synos.com.br> > > "Everything should be made as simple as possible, but not simpler." > Albert Einstein -

  1   2   >