Re: Sharing Tapestry Libraries

2006-04-03 Thread Alan Chandler
the directories and eventually a file to see the latest version of any of them. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL

Re: Antwort: @InjectComponent not working for me

2006-03-20 Thread Alan Chandler
On Monday 20 March 2006 19:46, Alan Chandler wrote: > > I think my problem maybe to something up with eclipse not putting some > changes into the .deployables directory. Not got to the bottom of it yet, > but my directory seems strangely out of date, and I have been renaming some >

Re: Antwort: @InjectComponent not working for me

2006-03-20 Thread Alan Chandler
pse not putting some changes into the .deployables directory. Not got to the bottom of it yet, but my directory seems strangely out of date, and I have been renaming some files without editing their contents -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference be

@InjectComponent not working for me

2006-03-19 Thread Alan Chandler
... Yet when I start up the application, during the load of the first page I get an exception Component [EMAIL PROTECTED] does not contain a component newuser. Any ideas what could be wrong? -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between

Re: Component with Stylesheet asset... how?

2006-03-14 Thread Alan Chandler
} } 5) I have a Border.properties file in the library with the following cssURL=/style/site.css 6) Each application has a similar entry to 5) in the application.properties file to provide application specific styles. 7) In each application template I call th

Re: Component casting.

2006-03-07 Thread Alan Chandler
"error.naming"),ValidationConstraint.CONSISTENCY); return; } setNewRole(null); //Clear out the field so its not detected next time } } } } -- Alan C

Re: validator message problem

2006-03-07 Thread Alan Chandler
renderer.render(writer,cycle); - } - writer.end(); - } } -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To un

Re: [NewB] Using some components in a custom component possibility and various questions

2006-03-07 Thread Alan Chandler
http://www.chandlerfamily.org.uk/photos/d/483-1/BorderMockup.png Take a look at the powered by tapestry at the bottom left This is the result of view source on the footer - see no images. Unless otherwise stated the content of this site is copyrig

Re: submit a form from an external page?

2006-03-07 Thread Alan Chandler
some instances, that is > actually the preferred mode. > > Any hints? > > --sam > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- A

Re: Unwinding unstored parameters?

2006-03-05 Thread Alan Chandler
On Sunday 05 March 2006 15:42, Alan Chandler wrote: > Am I missing something stupid here Yes - you have to save the file when you make an update. If you don't it uses the old version (which didn't clone). Seems to be working great now! -- Alan Chandler http://www.chandlerfamil

Unwinding unstored parameters?

2006-03-05 Thread Alan Chandler
y this wouldn't have worked) but in the Role constructor I do this ... public Role(Role r) { this.name = new String(r.name); ... Or is the @For loop doing something strange? -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference be

Re: How do I locate an error field in a @For Loop

2006-03-05 Thread Alan Chandler
gate.setFormComponent(getRoleNamField()); If it fails you record the failure there and then. (I have another problem which I am just about to post about). -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference b

How do I locate an error field in a @For Loop

2006-03-05 Thread Alan Chandler
w should I identify the specific component input field? -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e

Re: Encoding DB primary keys in the URL

2006-03-03 Thread Alan Chandler
w StringAdaptor(), you could develop your own. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Encoding DB primary keys in the URL

2006-03-03 Thread Alan Chandler
) back to a string "10". -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Encoding DB primary keys in the URL

2006-03-02 Thread Alan Chandler
ublic IPage doAction(Customer customer) { ... } In a form if the field is in a text field anyway, you can read it directly from the forms listener getCustomer().getLocationId() or if you don't want it visible to the user just make it a hidden field -- Alan Chandler http://ww

Re: newbie binding problem

2006-03-02 Thread Alan Chandler
d; > private String companyName; > > public String getCompanyName() { > return this.companyName; > } > > public void setCompanyName(String companyName) { > this.companyName = companyName; > } > } > >

Re: Tapestry with CSS which made a scrollbale table

2006-03-02 Thread Alan Chandler
re not compatible. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: propertySelection question

2006-02-26 Thread Alan Chandler
list of strings. The server side property got set with the integer index of the string chosen. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e

Re: propertySelection question

2006-02-26 Thread Alan Chandler
the Javasource of the WebContent Alternatively - the download page on my site has a tarball of the latest version package uk.org.chandlerfamily.akcmoney.components; /*Copyright (c) 2006 Alan Chandler, licenced under the GPL (see LICENCE.txt file in META-INF directory)*/ import

Re: PageValidateListener

2006-02-19 Thread Alan Chandler
On Sunday 19 February 2006 20:59, Alan Chandler wrote: > > What am I doing wrong? Figure trouble with Eclipse = not rebuilding the code Sorry for the noise -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust an

PageValidateListener

2006-02-19 Thread Alan Chandler
context:/Home.html: Method 'public abstract void org.apache.tapestry.event.PageValidateListener.pageValidate(org.apache.tapestry.event.PageEvent)' has no implementation in class uk.org.chandlerfamily.usermgr.pages.Home (or enhanced subclass $Home_0). What am I doing wrong?

Re: Newbie : Tapestry 4 Disgarding the Page Specification

2006-02-15 Thread Alan Chandler
t with us. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: injections without annotations

2006-02-14 Thread Alan Chandler
he web > application. In our project, it is stored as > src/context/WEB-INF/app.application: -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscr

Re: Generating my own validation error messages?

2006-02-14 Thread Alan Chandler
On Sunday 12 February 2006 11:53, Alan Chandler wrote: > > does the Prefix/Suffix surround just the component in error, or its > associated field label as well? OK, I found the answer, in that there is both a writeLabelPrefix and a writePrefix (and the same for suffix) This leads to

Re: Newbie : Tapestry 4 Disgarding the Page Specification

2006-02-13 Thread Alan Chandler
wever if you are worried you can change the extension. (see configuration in the user guide) -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Looking for messages (in TAP4)

2006-02-13 Thread Alan Chandler
On Monday 13 February 2006 19:39, Alan Chandler wrote: > On Monday 13 February 2006 18:50, Sven Homburg wrote: > > hope this helps > > > > http://wiki.apache.org/jakarta-tapestry/UsingCustomResourceSourceForLibs > > http://wiki.apache.org/jakarta-tapestry/ApplicationBo

Re: Looking for messages (in TAP4)

2006-02-13 Thread Alan Chandler
e they searched (so if the key is in more than one place, which one is found). Since no one has responded up to now, I am about to try an experiment to find out. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source.

Re: Newbie : Tapestry 4 Disgarding the Page Specification

2006-02-13 Thread Alan Chandler
gt; binding: ExpressionBinding[Home delegate.firstError] > location: context:/Home.html, line 15 > 10 > 11Enter either an IBM Number or a Formula Book Number to retrieve the > MSDS. 12 > 13 > 14 > 15 > 16 Thats probably delegate="ognl:beans.dele

Re: Newbie : Tapestry 4 Disgarding the Page Specification

2006-02-13 Thread Alan Chandler
login, but there is a demo available at http://www.chandlerfamily.org.uk/moneydemo/app The source code of the app is available for download -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. --

Re: Newbie : Tapestry 4 Disgarding the Page Specification

2006-02-12 Thread Alan Chandler
WEB-INF directory. my hivemodule.xml file is in the META-INF directory under Javasource. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to inject components?

2006-02-12 Thread Alan Chandler
do a msn chat after if you want (although not tonight) -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: How to inject components?

2006-02-12 Thread Alan Chandler
tComponentPart(someFunctionToGetComponentFromPartID(getPartId()); } and then in PartDetails.html I've probably still totally missunderstood what you are trying to do - but thats how I would do what you seem to be trying to do. NOTE: I tend to avoid specification files and speci

Looking for messages (in TAP4)

2006-02-12 Thread Alan Chandler
uot;key-string". Am I correct? or is it Border.properties, MyPage.properties, mylib.properties, MyApp.properties or something else -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust.

Re: How to inject components?

2006-02-12 Thread Alan Chandler
inside your java class for the component @Parameter public abstract CementSupplierProductSpecificationComponent getProduct(); or maybe its a combination of the two? -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between

Generating my own validation error messages?

2006-02-12 Thread Alan Chandler
? If it doesn't include the field label, is there an alternative? -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROT

Re: Pages failing w3c validation

2006-02-11 Thread Alan Chandler
"";> > > When I have "difficult" literal text, I put it inside a message > catalog (.properties file) and reference it using the message: binding > prefix. > > title="ognl:siteTitle" delegate="ognl:siteCSS" > doct

Re: Pages failing w3c validation

2006-02-11 Thread Alan Chandler
ote you'll see it wil work Thanks - yes I did manage to try that before my wife yanked me out for the day. worked a treat -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. ---

Re: Pages failing w3c validation

2006-02-11 Thread Alan Chandler
ot;";> But tapestry is now saying it can't parse my page. What is the correct way of including quotes "in-line" -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. ---

Pages failing w3c validation

2006-02-11 Thread Alan Chandler
rnet Explorer and I don't understand why - so I asked on a the css discuss list and the only response I got back was about failing validation). -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the differen

Anyone know a way to get hold of apache autheticated user

2006-02-05 Thread Alan Chandler
documents and found nothing. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tapestry not really component based?

2006-01-28 Thread Alan Chandler
tions property file * via key */ private String appMessage(String key) { return getPage().getMessages().getMessage(key); } -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust.

Re: Announcement: condense.it - a tapestry-based website - goes live

2006-01-28 Thread Alan Chandler
ut live a self-funded service called Condense.It: > http://condense.it/ Some strange behaviour under Konqueror, not seen with Firefox. The arrows on the left hand menu are repeated (ie there are two in each row) and the second one overlaps the menu text. -- Alan Chandler http://www.chandle

Re: Konqueror and DatePicker

2006-01-28 Thread Alan Chandler
On Friday 27 January 2006 12:37, Shing Hing Man wrote: > DataPicker works fine for me in Konqueror 3.3.0-8. > I am using Tap 4. > > Shing > > --- Alan Chandler <[EMAIL PROTECTED]> wrote: > > Anyone sucessfully using the DataPicker component > > with Konqueror?

Re: https again and still absolutely clueless :(

2006-01-27 Thread Alan Chandler
e @DirectLink and @PageLink components is about. Even so, in this case, I think you will need separate virtual hosts inside apache for the http and https parts as http will be received on port 80 and https on port 443. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It&#x

Konqueror and DatePicker

2006-01-26 Thread Alan Chandler
Anyone sucessfully using the DataPicker component with Konqueror? I seem to get some days in a month that I can't click on to set a date. It might be some sort of alignment problem, the dates are normally at the end of a week. -- Alan Chandler http://www.chandlerfamily.org.uk Open S

Re: Adding anchor to a form submission

2006-01-17 Thread Alan Chandler
On Tuesday 17 January 2006 01:16, Kent Tong wrote: > Alan Chandler chandlerfamily.org.uk> writes: > > Unfortunately, konqueror doesn't actually jump to the correct place ( and > > was true before) but much worse, firefox seems loop calling the server > > for a new p

Re: Adding anchor to a form submission

2006-01-16 Thread Alan Chandler
On Monday 16 January 2006 23:36, Alan Chandler wrote: > On Monday 16 January 2006 13:25, Kent Tong wrote: > > Alan Chandler chandlerfamily.org.uk> writes: > > > I want to actually go to an anchor on that page rather than the head of > > > the page. > > >

Re: Adding anchor to a form submission

2006-01-16 Thread Alan Chandler
On Monday 16 January 2006 13:25, Kent Tong wrote: > Alan Chandler chandlerfamily.org.uk> writes: > > I want to actually go to an anchor on that page rather than the head of > > the page. > > In the response page, try including Script component to insert > a .script fi

Re: using meta http-equiv="Refresh" content="n;url"

2006-01-15 Thread Alan Chandler
ants a redirect not your component. > > Original Message Follows > From: Alan Chandler <[EMAIL PROTECTED]> > by java class for this component has > > private class siteCSS implements IRender { > public v

Re: simplification?

2006-01-15 Thread Alan Chandler
ent.getRequestCycle().isRewinding()) { setSomeCollection( --- got from wherever); ... } } -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the

Re: Adding anchor to a form submission

2006-01-15 Thread Alan Chandler
s a parameter of the direct link, it would have the original values in it. So no way to update the database!! > > Gregg > > On 1/15/06, Alan Chandler <[EMAIL PROTECTED]> wrote: > > I have a form that when I hit the submit button, it will fire a listener. -- Alan Chandler http:

Re: using meta http-equiv="Refresh" content="n;url"

2006-01-15 Thread Alan Chandler
.attribute("href",appMessage("cssURL")); writer.println(); } } (appmessage does something like getPage().getMessages().getMessage() ) Why can't you just add the writing sections into your existing delegate? -- Ala

Adding anchor to a form submission

2006-01-15 Thread Alan Chandler
(this convincing the browser to go to an achor that is eventually rendered by the result of the direct link) @Form has no such parameter. Is there any other way to get an anchor rendered in the form response url? -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the diffe

Re: How do you get date validation to work?

2006-01-14 Thread Alan Chandler
On Saturday 14 January 2006 15:30, Alan Chandler wrote: > I am running tap4.0 and I am struggling with date validation. The > documentation is a bit sparse and both things I tried didn't work. > > Careful reading of the docs implies you should be able to do this ...>

Re: Troubles with tag span on the tapestry page

2006-01-14 Thread Alan Chandler
d(); > > > > public void onSearch() { > > > > } > > } > > > > > > Thanks, > > Yura Tkachenko. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For add

How do you get date validation to work?

2006-01-14 Thread Alan Chandler
rs:minDate=1/1/1999,maxDate=1/1/2030" as a replacement validators line, but whilst that allowed the page to work it accepted any rubbish in the date field and just defaulted it to today. I want it to generate an error for my form validation delegate. -- Alan Chandler http://www.chandlerfam

Re: Need a quick DataSqueezer teachin

2006-01-11 Thread Alan Chandler
On Wednesday 11 January 2006 19:47, Alan Chandler wrote: > I am wanting to take a friendly URL of the form /MyApp/view/somestring ... > > But that has failed - saying there is no strategy for unsqueezing strings. > So I am now stuck > > Where do I go next Cracked it.

Need a quick DataSqueezer teachin

2006-01-11 Thread Alan Chandler
I am now stuck Where do I go next???? -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Page Event Listeners on rewind

2006-01-06 Thread Alan Chandler
winding and have done that. But the point I was making is that I can't find any documentation that explicitly defines when these Page events occur, and I still don't understand the subtle differences between them. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's

Re: Finding the right breakpoints for debugging

2006-01-05 Thread Alan Chandler
breakpoint in your pageEndRender routine and then look at the stack. It tells you from which source code line it was called from -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. -

Does tapestry fire the wrong page event listener?

2006-01-05 Thread Alan Chandler
t the calling code was no help - it seems a bit obscure how it does it - I couldn't see how it was differenciating one listener from another - which of course may be the problem). Is this an Eclipse debugger problem or a tapestry one? -- Alan Chandler http://www.chandlerfamily.org.uk O

Page Event Listeners on rewind

2006-01-04 Thread Alan Chandler
m where it occupied a "@Hidden" field in the form. I have searched through the docs, but I can't find out where it explains the order of these events in respect of the rewinding form. Can someone explain to me the relative order of Page events during rewinding, and therefore how

Re: Finding the right breakpoints for debugging

2006-01-04 Thread Alan Chandler
ormation anyway. If you concentrate on your applications interaction with the framework - so Page Event Listeners, (and any other listenerers) seem to be good breakpoints. Sometimes instead of letting a property remain abstract, I make it a real routine and put breakpoints there. -- Alan Ch

Re: Issue of passing parameters between 2 pages

2005-12-30 Thread Alan Chandler
On Thursday 29 December 2005 13:14, Vincent wrote: > Hi > > Will cycle.getServiceParameters/setServiceParameters meet your needs? > > regards, > Vincent > > On 12/29/05, Alan Chandler <[EMAIL PROTECTED]> wrote: > > On Thursday 29 December 2005 11:06, Andreas

Re: Issue of passing parameters between 2 pages

2005-12-29 Thread Alan Chandler
t page. I have to do that in the Page Validate Listener - since when the page attach listener is called the value is not yet set. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. -

Re: Simple script issue

2005-12-29 Thread Alan Chandler
On Thursday 29 December 2005 11:39, kiuma wrote: > Hi! > Surround your function with the following > // > Thanks - perfect -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between tr

Simple script issue

2005-12-29 Thread Alan Chandler
ent this. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to replace the "submitOnChange" parameter of PropertySelection ?

2005-12-17 Thread Alan Chandler
The PropertySelection component has a submitOnChange parameter. But the docs say it is depreciated. I do not understand the comment in the "Description" section of this table. What exactly should I do to replace the use of this depreciated parameter? Hand crank the same thing

Re: Stumped by contrib:table

2005-12-17 Thread Alan Chandler
sing the component from Kent's fabulous book. The first four chapters are on-line, you have to pay for the rest. The chapter on the table is Chapter 7. I would recommend getting it to help you through this. http://www.agileskills2.org/EWDT/ -- Alan Chandler http://www.chandlerfamil

Re: Stumped by contrib:table

2005-12-17 Thread Alan Chandler
You have to provide one or the other. Here is an example I am using > > My very simple Home.hml: > > > > > >     >       Table test >     > >     >       >             >             >     > Not much he

Re: Does Tacos NOT work with Konqueror?

2005-12-13 Thread Alan Chandler
On Tuesday 13 December 2005 07:59, Alan Chandler wrote: > There appears to be reports on the konq-bugs mailing list that the version > I am using (version 3.4.3) does not work with google maps, but that is it > is fixed in version 3.5 > > I think I can upgrade to that now

Re: Does Tacos NOT work with Konqueror?

2005-12-12 Thread Alan Chandler
version I am using (version 3.4.3) does not work with google maps, but that is it is fixed in version 3.5 I think I can upgrade to that now (its is debian experimental), so am going to try. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between

Re: Does Tacos NOT work with Konqueror?

2005-12-12 Thread Alan Chandler
's pretty useless. I am aware that there is often problems with konqueror with some of the other javascript tools (there is an html editor for instance that doesn't work) which apparently exploits some flaw in IE, replicated in the Gecko based browsers. But in this case, I underst

Does Tacos NOT work with Konqueror?

2005-12-12 Thread Alan Chandler
I've tried going to the tacos demo site with konqueror and it seems not to work. For instance in the Refresh/Effect section (Partial component rendering) If I hit details, it comes up undefinedundefined in place of anything else. It works fine in firefox. -- Alan Chandler

Re: How to include a fragment of HTML ?

2005-12-07 Thread Alan Chandler
and a jwc file http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> then Will do the trick. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscr

Re: OT: Stupid SQL Question

2005-11-23 Thread Alan Chandler
tation there is an INHERITS clause in CREATE TABLE, which (provided it is single inheritence) seems to be part of the SQL standard. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. --

Re: How do you set a property of service after construction

2005-11-20 Thread Alan Chandler
d - I just write the thing myself. Some times I use the @Any component So , and then implement someString in the components associated java -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. --

Puzzling over RenderBlock documentation

2005-11-19 Thread Alan Chandler
I have been puzzling over the example given for the RenderBlock. I think its just wrong, but I thought I would check here to be absolutely sure At the begining of the example there is this line http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust.

Re: Component Specification

2005-11-15 Thread Alan Chandler
ee the code intensive part of a component, this is one I made for my application - its aim is to output details about a person. Its called (in the syntax used above) from the page as follows The java, using anotations declares the component and two parameters ===

Re: [ANNOUNCE] Tapestry 4.0-beta-13

2005-11-14 Thread Alan Chandler
throw new RedirectException(restartUrl); } -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [

Re: Static CSS serving

2005-11-07 Thread Alan Chandler
On Monday 07 Nov 2005 21:35, Ron Piterman wrote: > ציטוט Alan Chandler:> > > > HOWEVER - this is going to be a real pig to keep in step as I change from > > my local pc testing environment to the server test environment and then > > onto the final deployment. > >

Static CSS serving

2005-11-07 Thread Alan Chandler
s static element and not using @Shell - does it do anything important [Like generate the element - is that important?]) Advice please -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. -

Re: What to replace ActionLinks with?

2005-11-03 Thread Alan Chandler
ave to be able to serialize them or something. Don't really know. In the instance I gave, that was not what I needed to do. I was building a new object (Marriage) to write into my database, and it just needed the ID values. -- Alan Chandler http://www.chandlerfamily.org.uk Open Sourc

Re: What to replace ActionLinks with?

2005-11-02 Thread Alan Chandler
MarriagePage(); marriagePage.setFunction(Function.EDIT); return marriagePage; } The getMarriage() and getPerson functions are retrieving a session scoped application state objects which have been populated by @Textfields on this current page. ... -- Alan Chandler http://ww

Re: Start up errors - what are they telling me?

2005-10-30 Thread Alan Chandler
ether its going to cover everything. I can make my app work by disabling the security manager for testing, but I think I need to look at this more carefully for the longer term. The Tomcat manual says to turn on debug logging for the security problems. I am going to try that first. -- Alan Chan

Re: Start up errors - what are they telling me?

2005-10-30 Thread Alan Chandler
ists the permissions tapestry needs would help. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Start up errors - what are they telling me?

2005-10-30 Thread Alan Chandler
servlet: Error at jar:file:/var/lib/tomcat4/webapps/famtree/WEB-INF/lib/tapestry-4.0-beta-11.jar!/META-INF/tapestry.request.xml, line 247, column 113: access denied (java.util.PropertyPermission org.apache.tapestry.disable-caching read) -- Alan Chandler http://www.chandlerfamily.org.uk Open Source

Annotation formats

2005-10-23 Thread Alan Chandler
ers="yes") public abstract Submit getButton(); } But there seems to be a problem reported at the first "," in the @Component declaration. The documents use a "," in some places and spaces in others, but I can't get either to work in this cas

Problem with a submit button

2005-10-17 Thread Alan Chandler
tuck as to what is going wrong. Maybe it has to to with rewinding the form or something - but I can't see how to debug it. Has anyone else seen this problem? Is this a restart that is happening? Any ideas on how to debug to get more information on it?

Re: Interaction between form and submit button listeners

2005-10-16 Thread Alan Chandler
the form. I've just decided to try the opposite. Use the tag and selected values to set up something for the form listener to switch on when it fires :-) -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference be

Re: PageValidateListener problem - help please

2005-10-15 Thread Alan Chandler
are overriding the method in the > interface and you cannot throw exception which the method in the interface > is not throwing that means which is not there in the method signature. Thanks - that was the problem -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the

PageValidateListener problem - help please

2005-10-15 Thread Alan Chandler
eption(getHomePage()); switch (getFunction()) { ..... etc -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Interaction between form and submit button listeners

2005-10-13 Thread Alan Chandler
If I have a listener on a form AND a action listener on a submit button, what happens when the submit button listener returns non null? Does the form listener get executed?, or do I get an immediate redirect to the page represented by the return value? -- Alan Chandler http

Destroying session - how?

2005-10-12 Thread Alan Chandler
hich seems to first inject a link factory and then attempts to build the URL dynamically. I don't understand why its doing that as opposed to what I am suggesting above. In any case, it doesn't appear to address the underlying problem that I just want to destroy the ASO. --

Re: Sublety I am not understanding - help please

2005-10-08 Thread Alan Chandler
On Saturday 08 Oct 2005 09:17, Alan Chandler wrote: ... > > The first page (Home.html) has the following in it > >forename="" > surname="" > gender="" > linkPage="ognl:editPage" > > ... > >

Sublety I am not understanding - help please

2005-10-08 Thread Alan Chandler
k = getLinkPage(); link.setPersonId(personId); return link; } When I put the debugger in the line "ISetPerson link = getLinkPage();" the getLinkPage() method is returning a null value. Why? Why isn't it set when the PersonList component is instanciated inside Home.h

Re: Translator and Validator classes - where?

2005-10-03 Thread Alan Chandler
On Monday 03 Oct 2005 12:19, Ron Piterman wrote: > its a wiki. > add a custom translator howto... > I got it working - and have done -- Alan Chandler http://www.chandlerfamily.org.uk - To unsubscribe, e-mail: [EMAIL

Where are validator messages stored.

2005-10-02 Thread Alan Chandler
there. So where can I put my messages? -- Alan Chandler http://www.chandlerfamily.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Translator and Validator classes - where?

2005-10-02 Thread Alan Chandler
On Sunday 02 Oct 2005 18:15, Alan Chandler wrote: > On Sunday 02 Oct 2005 18:01, Ron Piterman wrote: > > look at the wiki -> tapestry 4 -> howtos > > Perfect - thanks Actually not quite perfect - no details on making a translator. However, using a comparison with the valida

  1   2   >