Re: accessing core services

2008-04-25 Thread Peter Beshai
You define your dispatcher as a service (with a build method) in your IoC module and pass the services that you need injected into the constructor. See: http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html Peter Beshai On Fri, Apr 25, 2008 at 1:49 PM, János Jarecsni <[EMAIL PROTEC

Re: [T5] Colons in element ids?

2008-04-22 Thread Peter Beshai
You could just give the label an id or a class: and use #username-label or and use label.labelClass or even something like and use form#myform label There are tons of ways! :-) Peter Beshai On Tue, Apr 22, 2008 at 1:31 PM, Julian Wood <[EMAIL PROTEC

Re: T5: question about onValidate and form reset

2008-04-22 Thread Peter Beshai
cycle page: http://tapestry.apache.org/tapestry5/tapestry-core/guide/lifecycle.html -- at the bottom mentions 3 possible methods For component related phases, you will want to see the Component Rendering page: http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html Peter Beshai On T

Re: T5: question about onValidate and form reset

2008-04-21 Thread Peter Beshai
that will give you the same look and feel of the submit button, without submitting the form. Peter Beshai On Mon, Apr 21, 2008 at 3:15 PM, Kevin C. Dorff <[EMAIL PROTECTED]> wrote: > > Sorry if these have been covered, I am somewhat new to T5, using 5.0.11. > > First, onValidate

Re: Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Peter Beshai
://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ValidationMessagesSourceImpl.java?view=markup Peter Beshai On Sat, Apr 19, 2008 at 7:08 AM, nille hammer <[EMAIL PROTECTED]> wrote: > > Hi Michael, > > I have tried y

Re: Newbie Question about services and modules

2008-04-17 Thread Peter Beshai
In your AppModule class you probably need to add @SubModule({QuizModule.class}) above the class definition. e.g. @SubModule( { DAOModule.class }) public class AppModule { ... } Also, you may want to make the bind method static, unless you're using instance variables with it. Peter Besha

T5: Integration Testing Component Class Resolver

2008-04-17 Thread Peter Beshai
(Configuration configuration) { configuration.add(new LibraryMapping("core", "org.example.myapp")); } Is this the correct way of doing things? Peter Beshai P.S. It'd be really helpful if somebody knowledgeable about integration testing with Tapestry could write up a wiki a

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-16 Thread Peter Beshai
Not sure if this is the best approach, but it might work: try adding a clientId parameter to FlexDate and forwarding it to the date field. Sorry, I haven't tested it! FlexDate.tml: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> FlexDate.java: @Parameter(defaultPrefix = TapestryConst

Re: ValidationMessages.properties

2008-04-16 Thread Peter Beshai
w Tapestry sets itself up if you ever have questions like these. I recommend checking TapestryModule for an answer before the mailing list :-) http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TapestryModule.java?view=markup Peter Beshai

Re: Templating/Layout question

2008-04-16 Thread Peter Beshai
Layout' for this and leave the regular layout for non-paneled pages. Peter Beshai On Wed, Apr 16, 2008 at 11:11 AM, Jan Vissers <[EMAIL PROTECTED]> wrote: > Hi, > > Consider this Layout component: > > > > > > &

Re: Layout component usage - renders multiple elements

2008-04-14 Thread Peter Beshai
Hi Jan, This was answered recently on the mailing list: http://www.nabble.com/Re-%3A-Re-%3A-T5%3A-Layout-question-td16448904.html#a16448904 Peter Beshai On Mon, Apr 14, 2008 at 2:25 PM, Jan Vissers <[EMAIL PROTECTED]> wrote: > Thanks Howard, > > However this doesn't wo

Re: [T5] Override mapped configuration value

2008-04-11 Thread Peter Beshai
> > > http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/services/BeanBlockOverrideSource.html > > > > If that's not what you're trying to do, well, then I don't know. :p > > > > -Filip > > > > > > > > On 2008

Re: [T5] enum/BeanEditForm issue

2008-04-11 Thread Peter Beshai
ng _name; public void setName(String name) { this._name = _name; } Peter Beshai On Fri, Apr 11, 2008 at 10:06 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > That's odd. > > What does your page class/template look like? > > -Filip > > > On 2008-04-11 10:15,

Re: T5: component id, element id

2008-04-11 Thread Peter Beshai
(_resources); } public String getCurrentBeanRowId() { return _clientId + "row" + _currentBeanRow; } and in my template I used: ${removeBeanLabel} and it seems to get the client id right :-) Hope this gives you an idea, Peter Beshai On Fri, Apr 11, 2008 at 12:57 AM, Chris Lewis <[EM

Re: PropertyEditBlock for a multi-field object

2008-04-10 Thread Peter Beshai
The way I do it is something like: Where RangeDateEditor is a component you make to handle editing it :-) Peter Beshai On Thu, Apr 10, 2008 at 4:29 PM, Bill Holloway <[EMAIL PROTECTED]> wrote: > I've got a custom type called RangeDate that consists of an enum (should &

[T5] Override mapped configuration value

2008-04-10 Thread Peter Beshai
, Tapestry will log warnings (identifying the source, in terms of invoked methods, of the conflict), and ignore the conflicting value." So I cannot simply do: configuration.add(String.class, "customText"); Peter Beshai

Re: [T5] Page loads before data is refreshed

2008-04-09 Thread Peter Beshai
private int count = 0; > > > >@Property > >private String string; > > > >@Component > >private Zone aZone; > > > >Object onActionFromOutsideZone() { > >count++; > >

Re: T5: Zone on/off, delegate Id

2008-04-09 Thread Peter Beshai
te.tml: > > ... > > > > ... > > > > aZoneDelegate.java: > > @Component > > private Zone _zone; > > > > public String getZoneClientId() > > { > > return _zone.getClientId(); > > } > > > > > > Then when yo

[T5] Page loads before data is refreshed

2008-04-09 Thread Peter Beshai
/fixed this? Thanks, Peter Beshai

Re: T5: Zone on/off, delegate Id

2008-04-09 Thread Peter Beshai
getZoneClientId() { return _zone.getClientId(); } Then when you want to use it Peter Beshai On Wed, Apr 9, 2008 at 9:48 AM, Christian Gorbach <[EMAIL PROTECTED]> wrote: > hi group, hi howard, > > tricky problem here - I need some kind of conditinal zone rendering...(=T5 >

[T5] Zone within Form (component dynamically adding form components)

2008-04-08 Thread Peter Beshai
in AppPropertyEditBlocks, which I don't think allows me to pass in the zone as a parameter. Plus, by having a zone around the entire form, the entire form gets refreshed instead of just this one section. Does anybody know a solution to this problem? Peter Beshai

Re: [T5] Need AppPropertyEditBlocks to reload page-load values

2008-04-08 Thread Peter Beshai
), > and you still get the most up to date dataset. > > Cheers, > > Robert > > > On Apr 8, 2008, at 4/810:01 AM , Peter Beshai wrote: > > > My current workaround it to just grab from the database on every > > getAllCategories() call and get rid of the pageLoa

Re: [T5] Need AppPropertyEditBlocks to reload page-load values

2008-04-08 Thread Peter Beshai
My current workaround it to just grab from the database on every getAllCategories() call and get rid of the pageLoaded method. I'd be interested to hear if there are any different approaches. Peter Beshai On Tue, Apr 8, 2008 at 10:51 AM, Peter Beshai <[EMAIL PROTECTED]> wrote: >

[T5] Need AppPropertyEditBlocks to reload page-load values

2008-04-08 Thread Peter Beshai
pageLoaded method: void pageLoaded() { _allCategories = _categoryDAO.findAll(); } Any idea what I can do to fix this? Peter Beshai

Re: [T5] Template Inheritance - Overriding just one block of parent class' template

2008-04-04 Thread Peter Beshai
his means I can't do: in my ManageApplications template, since I cannot use . So I would have to subclass ManageApplications to something like ManageApplicationsVerbose and then do: in order to extend the template. Thanks for the suggestion, though :-) Peter Beshai On Fri, Apr

Re: [T5] Interesting bug of link render?

2008-04-04 Thread Peter Beshai
you just change the int to Integer and leave this method untouched, but I'm unsure. } } Peter Beshai On Thu, Apr 3, 2008 at 6:25 AM, dhning <[EMAIL PROTECTED]> wrote: > Hi, > > I get a intersting problem: > > Start.java: > public class Start > { >p

[T5] Template Inheritance - Overriding just one block of parent class' template

2008-04-04 Thread Peter Beshai
to do this. Thanks, Peter Beshai

Re: T5: Expansions & prefixes

2008-04-02 Thread Peter Beshai
1) I'm not sure if there is a list anywhere, but I know there are more prefixes than those ;> 'var' is one! 2/3) You most likely want to do something like this: XX.properties: product-name = Apple Sauce - %s Then when you want to use it, you will need to add a property to your page/component: @I

Re: Re : Re : T5: Layout question

2008-04-02 Thread Peter Beshai
to solve the issue. The Start page > still > renders all template-content around t:type="Border"> > > regards, > > Onno > > > > 2008/4/2, Peter Beshai <[EMAIL PROTECTED]>: > > > > Hi there, I believe I have a solution that works using pa

Re: Re : Re : T5: Layout question

2008-04-02 Thread Peter Beshai
Hi there, I believe I have a solution that works using parameters and delegates. Basically instead of including you will delegate the content to a parameter of the component. See the source below: Start.tml: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xmlns

Re: T5: customize sort icon in grid?

2008-04-01 Thread Peter Beshai
ou somewhere to start. I tried placing my own image on my classpath, but was unsuccessful at having it be read at assets/tapestry/corelib/components/sortable.png. Peter Beshai On Tue, Apr 1, 2008 at 3:58 PM, Bill Holloway <[EMAIL PROTECTED]> wrote: > Has anybody had any luck or can a

Re: [T5] Get Zone to Initially Render a Block

2008-04-01 Thread Peter Beshai
Sorry, the java code should be: @Inject @Property private Block _formBlock; Object onActionFromAddBlock() { // code to add another item to list of items return _formBlock; } On Tue, Apr 1, 2008 at 2:54 PM, Peter Beshai <[EMAIL PROTECTED]> wrote

Re: [T5] Get Zone to Initially Render a Block

2008-04-01 Thread Peter Beshai
I figured it out. Here is an example of my solution: + --- Object onActionFromAddBlock() { // code to add another item to list of items } Peter Beshai On Tue, Apr 1, 2008 at

[T5] Get Zone to Initially Render a Block

2008-04-01 Thread Peter Beshai
textfield with actionlink outside of the block and have an extra event handler method for that actionlink. Any ideas? Peter Beshai

[T5] Maven2 or Ivy?

2008-03-25 Thread Peter Beshai
entric, or if there are tutorials on building Tapestry applications without maven. Is everyone still using maven2? Ivy? Thanks, Peter Beshai

[T5] BeanEditForm - Edit a bean within a bean?

2007-09-03 Thread Peter Beshai
;, "validate=prop:currencyValidator", "clientId=prop:context.propertyId" }) private TextField _currency; I'm not sure how to adapt this to work for having two fields in the component editing block. What would the value be set to for each? Any help is appreciated

Re: T5 - Access configured application default value from component

2007-07-25 Thread Peter Beshai
or are you seeing? Any log messages or exceptions? On 7/25/07, Peter Beshai <[EMAIL PROTECTED]> wrote: > > In my application, people can upload files. What is the best way to > configure the root of the location the files go to? > > I thought I'd contribute to ApplicationDef

T5 - Access configured application default value from component

2007-07-25 Thread Peter Beshai
public String getFileSystemRoot() { return _fileSystemRoot; } But I've had no such luck. Does anyone know the correct way to do this? Thanks, -- Peter Beshai CS 134 Tutor University of Waterloo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 - tapestry-hibernate - Auto generate schema/tables?

2007-07-24 Thread Peter Beshai
ght be helpful< http://elozovan.blogspot.com/2007/05/simpletapestry-5-crud -application-step_24.html> . E.L. On 24/07/07, Peter Beshai <[EMAIL PROTECTED]> wrote: > > Hi everyone, > Is there any way to have Hibernate auto generate the schema if it hasn't > already been de

T5 - tapestry-hibernate - Auto generate schema/tables?

2007-07-24 Thread Peter Beshai
me in the right direction, that would be great. -- Peter Beshai CS 134 Tutor University of Waterloo

Re: T5 - Suitable use for Chain of Command?

2007-07-22 Thread Peter Beshai
l, powerful, extensible ... and very testable! On 7/22/07, Peter Beshai <[EMAIL PROTECTED]> wrote: > Hi everyone, > I am interested using something similar to the workflow in Mac OS X's > automator, and I'd like to know if the ChainBuilder provided in T5-IoC will > be a

T5 - Suitable use for Chain of Command?

2007-07-22 Thread Peter Beshai
the chain of command principles? It seems to me that they don't directly allow transfer between subsequent commands. Is the way to do this with an external object (ASO?) that would store the information between commands? -- Peter Beshai CS 134 Tutor University of Waterloo

Re: T5: SetupRender

2007-04-01 Thread Peter Beshai
isship.com ----- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Peter Beshai Computer Science Student University of Waterloo

Re: t:layout

2007-04-01 Thread Peter Beshai
em to be showing up at all. Has something changed? On 3/28/07, Peter Beshai <[EMAIL PROTECTED]> wrote: > I never knew was supported. I just made my own layout component > and I think that makes more sense (you'll most likely want to customize it > anyway). Here is

Re: t:layout

2007-03-28 Thread Peter Beshai
It's just not evenly distributed yet." -- Traditional - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Peter Beshai Computer Science Student University of Waterloo

Re: T5: contributing to component class resolver

2007-03-22 Thread Peter Beshai
re any documentation on this? I cant find it. there should be some kind of search function in the maven generated page.. -- /ted - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Peter Beshai Computer Science Student University of Waterloo

Re: T5 - ASO cannot be in the same package as the page?

2007-03-22 Thread Peter Beshai
Calmac. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Peter Beshai Computer Science Student University of Waterloo

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-22 Thread Peter Beshai
ROTECTED] > > > > > > > -- > Howard M. Lewis Ship > TWD Consulting, Inc. > Independent J2EE / Open-Source Java Consultant > Creator and PMC Chair, Apache Tapestry > Creator, Apache HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.com > > ------

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread Peter Beshai
; but these classes (Contribute and Id) aren't on the > > tapestry-ioc-5.0.3.jarpackage... > > > > Where are them? > > > > Thanks > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] &g

T5 Custom AssetFactory

2007-03-20 Thread Peter Beshai
ernal.services.AssetSourceImpl.findAsset( AssetSourceImpl.java:92) * component ... I am not sure why it reads classpath:path to file instead of myassets:path to file or what approach I should take to solve this issue. Any help is appreciated :-) -- Peter Beshai Computer Science Student University of Waterloo

Re: compilation problem with Tapestry 5 tutorial files

2007-03-20 Thread Peter Beshai
ny ideas? Thanks a lot! celia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Peter Beshai Computer Science Student University of Waterloo

T5 Expansions (with Maps?)

2007-03-19 Thread Peter Beshai
rties in my page for each of the entries in the map. Is there a better way of handling maps? Thanks :-) -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo

T5 Assets from property

2007-03-18 Thread Peter Beshai
} will look for contributed symbols. Is there any way of doing this? -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo

Re: [T5]Question on ASO configuration

2007-03-17 Thread Peter Beshai
stry instantiate the ApplicationState whenever it wants to. Of course, once T5 supports ASO flags, you'd want to start using those in order to prevent unnecessary session creation. On 3/16/07, Peter Beshai <[EMAIL PROTECTED]> wrote: > > I am trying to store a user as an ASO. I am able to set

Re: T5 submit

2007-03-16 Thread Peter Beshai
is type of event does not support return values from event handler > methods" > > cant find the listener parameter for submit component. Can some one > please help me out? Thanks! > > > Anjana Gopinath > True North Technology > 11465 John's Creek Parkway, Suite 300 > Duluth, GA 30079 > [EMAIL PROTECTED] > > > > > > -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo

Re: [T5]Question on ASO configuration

2007-03-16 Thread Peter Beshai
there something I am missing? -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo

T5 Upload component?

2007-03-08 Thread Peter Beshai
How do we use input type="file" in T5? Is this functionality implemented yet? -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo

Re: T5 IOC - Pass string to module on load

2007-03-03 Thread Peter Beshai
Thanks! That is exactly what I needed :-) On 3/2/07, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: You could perhaps use a symbol? http://tapestry.apache.org/tapestry5/tapestry-ioc/symbols.html -Filip Peter Beshai skrev: > I have a jar with a module in it, configured to be autoloaded

T5 IOC - Pass string to module on load

2007-03-02 Thread Peter Beshai
maps -- not just single objects)? Any pointers in the right direction would be greatly appreciated. -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo

Re: T5 IoC - inject service in data class ?

2007-02-28 Thread Peter Beshai
rnal jar where my ListService is in? Thanks and sorry for the abundance of questions! -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo On 2/27/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: The pattern of use is: You create a factory service for your dat

T5 IoC - inject service in data class ?

2007-02-27 Thread Peter Beshai
is on the classpath. (the package and class is in a different JAR file, but it is a maven dependency) Thanks -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo

Re: T5 equivalent of $content$

2007-02-24 Thread Peter Beshai
Err.. it seems to work fine if I remove the and tags. How about that. :-) On 2/24/07, Peter Beshai <[EMAIL PROTECTED]> wrote: I have created a component and when I add it into a page, I want only a specific part of the template to be added, not the whole thing (since it must be a well-

T5 equivalent of $content$

2007-02-24 Thread Peter Beshai
T4s jwcid="$content$". I couldnt' find it on the component template page -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo

Re: T5 Grid with interfaces as source

2007-02-22 Thread Peter Beshai
parameter to the modelForGrid property. On 2/22/07, Peter Beshai <[EMAIL PROTECTED]> wrote: > I am running into difficulty getting Grid to work with my data. I have a > collection of MyInterface which is filled with objects of MyInterfaceImpl. > The problem is that MyInterfaceImpl i

T5 Grid with interfaces as source

2007-02-22 Thread Peter Beshai
(ComponentPageElementImpl.java:338) - org.apache.tapestry.internal.services.RenderQueueImpl.run( RenderQueueImpl.java:57 Does anyone have any suggestions on what to do? Will it require me to code my own BeanModel for the Grid?? I find that kind of confusing, so any help would be great :-) Thanks -- Peter

Get component id in EventListener with multiple targets

2006-12-20 Thread Peter Beshai
ch button an event listener and having those event listeners all call another function with the component's ID as an argument? -- Peter Beshai - Using Tapestry 4.1.1 Pure Mathematics Student University of Waterloo

Re: Multiple browser windows causing session issue

2006-11-29 Thread Peter Beshai
I'm not an expert on this stuff, but tapestry-flash may be of use for the previous/next page problem. http://howardlewisship.com/tapestry-javaforge/tapestry-flash/ -- Peter Beshai Pure Mathematics Student University of Waterloo From: Robert Breidecker <[EMAIL PROTECTED]&g

Re: myApp.application and xml

2006-11-22 Thread Peter Beshai
default to the XML Editor (I believe it defaults to the last used editor for the file). -- Peter Beshai - Using Tapestry 4.1.1 Pure Mathematics Student University of Waterloo From: Cyrille37 <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: Tapestry users Subject: Re:

Re: button values

2006-11-22 Thread Peter Beshai
I'm not sure why that wouldn't work, but if you're just using an @Insert, you can use a shortcut: -- Peter Beshai - Using Tapestry 4.1.1 Pure Mathematics Student University of Waterloo From: John Coleman <[EMAIL PROTECTED]> Reply-To: "Tapestry users"

RE: MultiplePropertySelection - informal params - best practice

2006-11-21 Thread Peter Beshai
Do you mean something like AbstractComponent's renderInformalParameters ? http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/AbstractComponent.html#renderInformalParameters(org.apache.tapestry.IMarkupWriter,%20org.apache.tapestry.IRequestCycle) --

RE: Tapestry Dialog Component Problem 4.1.1

2006-11-17 Thread Peter Beshai
eter, then I have no idea :-) -- Peter Beshai - Using Tapestry 4.1.1 Pure Mathematics Student University of Waterloo From: Tine <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: users@tapestry.apache.org Subject: Tapestry Dialog Component Problem 4.1.1 Date: Fri, 17 Nov 2006 02:15:

Re: PageRenderSupport problem (Body component is in template)

2006-11-09 Thread Peter Beshai
's as much as I can say! -- Peter Beshai - Using Tapestry 4.1.1 Pure Mathematics Student University of Waterloo From: "Roberto Ramírez Vique" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: PageRenderSupport problem

Re: PageRenderSupport problem (Body component is in template)

2006-11-09 Thread Peter Beshai
Hi, Unless you just made a typo in the email, your loop is defined as : Should probably be: Other than that, I have no ideas. Good luck! -- Peter Beshai - Using Tapestry 4.1.1 Pure Mathematics Student University of Waterloo From: "Roberto Ramírez Vique" <[EMAIL PROTECT

RE: Autocompleter behaviour with "multi-staged" page

2006-11-07 Thread Peter Beshai
Whoops, typo int he HTML file. should read not jwcid="wrapper"> Nonetheless, I have decided to use the @Persist as my solution. @Persist("session") was undesirable, but @Persist("flash") will do the trick for now. Although I still don't understand

Autocompleter behaviour with "multi-staged" page

2006-11-07 Thread Peter Beshai
gth && label.toLowerCase().substring(0,length).equals(filter)) ret.put(getPrimaryKey(entry.getKey()), label); } return ret; } public String getLabelFor(Object value) { return _values.get(value); } // value

RE: ANN: tacos 4.0.1 released

2006-10-30 Thread Peter Beshai
pestry 4.1 (if any at all)? Maybe an estimation of when it will be available? That would be great! I'd love to use the Tacos library, but I'm running a 4.1.1 app. Anyway, I'm very glad to see work is being done on tacos :-)! Peter Beshai From: andyhot <[EMAIL PROTECTED

Re: @EventListener issue with submitForm and Upload component

2006-10-27 Thread Peter Beshai
https://issues.apache.org/jira/browse/TAPESTRY-1128 Peter Beshai From: "Jesse Kuhnert" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: @EventListener issue with submitForm and Upload component Date: Fri, 27 Oct 2006 11:54

Re: Call listener after page appears on screen

2006-10-27 Thread Peter Beshai
I had tried, but it seemed like tacos wouldn't work with Tapestry 4.1.1. I kept getting errors about things in hivemind being duplicated and it was just giving me a headache. So I'm going to create a wrapper for the new dojo progress bar, which should do the trick :-) Peter Besh

Re: Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
en that happens that solution doesn't work. Peter Beshai From: andyhot <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: Tapestry users Subject: Re: Call listener after page appears on screen Date: Thu, 26 Oct 2006 19:25:31 +0300 Try this: dojo.event.connect(window,

Re: Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
= Integer.valueOf(stringKey); ... } instead of Integer threadKey as the parameter. Thanks for the help! Peter From: "Peter Beshai" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: users@tapestry.apache.org Subject: Re: Call listener after page appears on screen Date: Thu, 26 Oc

Re: Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
Any ideas how to fix this? Or a better way of handling tracking the progress of a file? Peter Beshai From: "Christian Dutaret" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: Call listener after page appears on screen Date:

Re: Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
asynchronous), a (same error), and currently a Checkbox. Also, onclick() -worked- after the page had loaded and I tried calling it manually. Peter Beshai From: "Karthik N" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: Ca

RE: snapshots?

2006-10-26 Thread Peter Beshai
be wrong though! Peter Beshai From: "Martin Strand" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: users@tapestry.apache.org Subject: snapshots? Date: Thu, 26 Oct 2006 12:53:47 +0200 What has happened to the snapshots? There used to be snapshots from October

Call listener after page appears on screen

2006-10-26 Thread Peter Beshai
Is there an easy way of calling a listener after the page appears (rendered) on screen? I couldn't think of one, and so I tried having adding an event to the onload of the page: dojo.event.connect(window, "onload",dojo.byId("mockHidden").onclick()); or dojo.addOnLoad(function(e){ dojo.byId

@EventListener issue with submitForm and Upload component

2006-10-25 Thread Peter Beshai
Is it intended that if there is an Upload component in the form that is attached to an EventListener (via setting submitForm="myform"), the EventListener doesn't fire off? (I didn't see it documented anywhere, but I could have missed someth

Cancel upload during form submit

2006-10-19 Thread Peter Beshai
t the listeners I attach to it aren't called if I click it after having already clicked the forms submit button. Even if they were called, I'm not sure exactly how I would tell the page to stop running the upload methods (would I have to put a check in the loop??)

Link to listener on another page (not in same package)

2006-10-19 Thread Peter Beshai
right kind of listener in app1 to have it do the same thing (essentially). Any suggestions? Peter Beshai _ Voyez vos amis en faisant un appel vidèo dans Windows Live Messenger http://imagine-msn.com/messenger/launch80/default

RE: CheckBox Implementation ... Tap-4.1.1 help please (thanks)

2006-10-18 Thread Peter Beshai
file: @Component(bindings = {"value=rememberMe","displayName=message:label.rememberMe"}) public abstract Checkbox getRememberMeCheckbox(); @Persist @InitialValue("true") public abstract boolean getRememberMe() Sorry if this is not what you meant! Peter Beshai F

RE: CheckBox Implementation ... Tap-4.1.1 help please (thanks)

2006-10-18 Thread Peter Beshai
html file: note: you could use >jwcid="rememberMeCheckbox"/> but I have experienced some problems when using checkboxes with field labels (https://issues.apache.org/jira/browse/TAPESTRY-1096), so you may want to avoid it. Hope this helps, Peter Beshai From: "

Re: PageRenderSupport problem (Body component is in template)

2006-10-18 Thread Peter Beshai
dojo.require("tapestry.widget.Widget"); </unique> </body> <initialization> tapestry.widget.synchronizeWidgetState("${id}", "dialog", ${props}); dojo.widget.byId("${id}").setCloseControl(dojo.byId("${closer}"))

Re: jwcid + id in html template = bad idea?

2006-10-18 Thread Peter Beshai
Oh really? I didn't know you could do that (the multiple classes in one class attribute). Neat. Thanks Peter Beshai From: "Jesse Kuhnert" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: jwcid + id in html template =

jwcid + id in html template = bad idea?

2006-10-18 Thread Peter Beshai
jwcid and id since presumably id will be overwritten at runtime) or is this the way it should be done? Peter Beshai _ Voyez vos amis en faisant un appel vidèo dans Windows Live Messenger http://imagine-msn.com/messenger/launch80

Re: PageRenderSupport problem (Body component is in template)

2006-10-18 Thread Peter Beshai
s the exception. It took me a lot longer than 10 minutes to make this (a couple of hours!!) but after it was done it all seems very simple. I just couldn't find any documentation anywhere about it, so I just read through some source and tried putting things together. When you say "

PageRenderSupport problem (Body component is in template)

2006-10-17 Thread Peter Beshai
= TapestryUtils.getPageRenderSupport(cycle, this); getScript().execute(this, cycle, pageRenderSupport, scriptParms); Peter Beshai _ Essayez la nouvelle génération de recherche avec Live Search. http://www.live.com/?mkt=fr-ca

Determining uploaded file status while uploading

2006-10-17 Thread Peter Beshai
. (Note I upload files in a similar fashion to what is shown on the upload component's documentation page under examples. http://tapestry.apache.org/tapestry4.1/components/form/upload.html) Peter Beshai _ Découvrez Live Sear

Re: How do you add custom dojo widget?

2006-10-17 Thread Peter Beshai
stry users" Subject: Re: How do you add custom dojo widget? Date: Tue, 17 Oct 2006 06:28:22 +0530 peter - the first step would be to isolate the issue are you able to make this widget work without tapestry and with just plain vanilla HTML and dojo? if not, then that would be an excellent star

How do you add custom dojo widget?

2006-10-16 Thread Peter Beshai
js' does not exist. WARN (tapestry.services.Asset:251) Classpath resource '/dojo/__package__.js' does not exist. WARN tapestry.services.Asset Classpath resource '/dojo/__package__.js' does not exist. Peter Beshai

RE: Async=true stops listener from being called in ImageSubmit

2006-10-16 Thread Peter Beshai
Err, that should read doImageSubmit() (the LinkSubmit pointed to that listener.. but they both do the same thing) From: "Peter Beshai" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: users@tapestry.apache.org Subject: Async=true stops listener from being calle

Async=true stops listener from being called in ImageSubmit

2006-10-16 Thread Peter Beshai
ic void doLinkSubmit(IRequestCycle cycle) { ... //breakpoint in here to see if it is called cycle.getResponseBuilder().updateComponent("myForm"); } Peter Beshai _ Essayez la nouvelle génération de recherche

Autocompleter style

2006-10-05 Thread Peter Beshai
It seems that with the newest build of tapestry, the styling of the autocompleter has changed and now the arrow (img.dojoComboArrow) has "style='width: 22px; height: 22px'" built into its tag, which overrides the class' style. The arrow image is oversized at these dimensions (it is blurred by t

  1   2   >