thickbox or dojo alternative

2007-05-29 Thread Paul Stanton
Hello, I need to dynamically load a form into a dialog (not a popup) such as thickbox or a dojo dialog and then submit the parent page once the dialog form is submitted. The behaviour is as follows: 1. user clicks listed item on parent page 2. modal dialog is displayed populated with listed

RE: T5 Script component [WAS: Re: T5 page lifecycle]

2007-05-29 Thread Kristian Marinkovic
hi martin, instead of resolving the path to your resource manually you can use the asset service (useful when thinking of portlets) i wrote a stylesheet component myself that works like your script component :) ... and i enjoyed writing it. public class Script { @Inject private

Re: T5 selective rendering

2007-05-29 Thread Kristian Marinkovic
i did some partial page rendering (PPR) myself ... but i don't know it is the tapestry 5 way of doing it... rendering a component from any page @Inject private RequestPageCache _cache; @Inject private MarkupWriterFactory mwf; @Inject private PageRenderInitializer initializer; public

Re: T5: Testing - PageTester reworked... How do I use mock services now?

2007-05-29 Thread Otho
Thanks for the answer, works perfectly now. 2007/5/28, Howard Lewis Ship [EMAIL PROTECTED]: It's a good point. What you need to do is define a module that defines your mock services, and contributes overrides into the Alias or AliasOverride service configuration, such that your mock services

RE: t5: Date input component

2007-05-29 Thread Kolesnikov, Alexander GNI
Well, here is the code. If you need comments, the whole issue will be published soon, hopefully on the next week. That will be #14, and there are three other issues to be published before it: #11: DatePicker and Shell #12: PropertySelection and IPropertySelectionModel #13: Autocompleter and

need an example of using Dojo Dialo

2007-05-29 Thread Heping Zhang
hi, can any one give me an example of using Dojo Dialog in tap4.1.1? Or just some cue? Since there's no one example in tapestry4.1's home page and I am a novice of tap, I do not know how to do. Thanks.

RE: T5 Script component [WAS: Re: T5 page lifecycle]

2007-05-29 Thread Martin Grotzke
On Tue, 2007-05-29 at 09:36 +0200, Kristian Marinkovic wrote: instead of resolving the path to your resource manually you can use the asset service (useful when thinking of portlets) What exactly is the advantage of using the AssetSource? Is it e.g. caching or s.th. else? In respect to the

T5 class reloading

2007-05-29 Thread Martin Grotzke
Hi, is the class reloading in T5 limited to component classes as described at http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html: However, class reloading only applies to component classes. Although, at

RE: T5 Script component [WAS: Re: T5 page lifecycle]

2007-05-29 Thread Kristian Marinkovic
caching is one advantage of using assets another advantage is the possibility to let tapestry decide how your assets are delivered: plain or compressed the asset service will determine browser and type of asset to decide whether it can use compression. (if gzip is accepted :)) jesse did a

Re: T5 How to have multiple modules with separate packages for pages

2007-05-29 Thread Martin Grotzke
Great, this does the trick! Thanx a lot, cheers, Martin On Sun, 2007-05-27 at 23:11 +0700, Ivan Dubrov wrote: You can contribute to ComponentClassResolver service mappings from prefix (e.g, mod1) to package, like the following: public static void

Re: @OnEvent not inherited in T5?

2007-05-29 Thread Jun Tsai
2007/5/29, Howard Lewis Ship [EMAIL PROTECTED]: You need to define them as a library, by making a contribution to the ComponentClassResolver service configuration. You can model your contribution on the one for the core library: public static void

T5 and shorter logical page name for pages of contributed library mappings

2007-05-29 Thread Martin Grotzke
Hi, how do I get a url like /app/user/create for a page CreateUser in the module user? I have in my AppModule class: public static void contributeComponentClassResolver( ConfigurationLibraryMapping configuration ) { configuration.add( new LibraryMapping( user,

how to implement hivemind.Startup function in T5?

2007-05-29 Thread Jun Tsai
In T4,I often use hivemind.Startup to initialize my application data. Which contribution configuration as same function in t5? thanks. Jun Tsai ps:I don't want to override the tapestry filter. -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net

Adding a parameter to the url for all pages

2007-05-29 Thread Denis McCarthy
Hi, I've a custom application that runs on a set number of machines. The application consists of a custom browser (based on xulrunner and eclipse swt Browser class) and a tapestry application. Each machine on which the app runs has a unique ID. Currently, when users use the application, their

Re: need an example of using Dojo Dialo

2007-05-29 Thread Renat Zubairov
Hi You can find example here: Definition http://bookie.googlecode.com/svn/trunk/bookie-framework/src/main/java/org/bookie/framework/components/Login.jwc HTML for it http://bookie.googlecode.com/svn/trunk/bookie-framework/src/main/java/org/bookie/framework/components/Login.jwc Java code for it

Re: thickbox or dojo alternative

2007-05-29 Thread Renat Zubairov
Hello, We are using the same scenario in our project http://code.google.com/p/bookie Check CategoryAdmin.html page for example: http://bookie.googlecode.com/svn/trunk/bookie-web/src/main/webapp/admin/CategoryAdmin.html Renat On 29/05/07, Paul Stanton [EMAIL PROTECTED] wrote: Hello, I need

Reusable breadcrumb component - is it (already) available

2007-05-29 Thread Jan Vissers
Hi - Just wondering whether a breadcrumb component is already available in Tapestry? Browsing the source repository of Wicket (...no I'm not currently using Wicket!...) I noticed such a component already being part of that framework. Thanks, -J.

Re: need an example of using Dojo Dialo

2007-05-29 Thread Heping Zhang
Thank you!

validating a complex form component

2007-05-29 Thread Martino Piccinato
I just wanted to know about best practices to validate components that are used as part of a form but that are not IFormComponent (something that happen pretty often in our code). e.g. we have a LegalId component made by a select box where you choose the type of id you are inserting plus an

Re: [T5] Form, and lot of questions

2007-05-29 Thread Marcell Manfrin Barbacena
Hi, I know how to do the translator part, what about the hidden component? And the @Persist atributtes of my current page when I go to other page and come back, are they going to still retain the old values? Or do I need to push what I want to the other page and push back later? Or a @Persist

Re: how to implement hivemind.Startup function in T5?

2007-05-29 Thread Renat Zubairov
I assume the similar to 4.0 way - via ApplicationInitializer http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ApplicationInitializer.java?view=markup And

Re: need an example of using Dojo Dialo

2007-05-29 Thread Heping Zhang
Thank you. But, you see, after one hour later, I still puzzled. It is a shame. But if any one has some a little more simply example, please help me. Thank you.

Re: validating a complex form component

2007-05-29 Thread Martino Piccinato
sorry forgot to say that we are using tapestry 4 (4.1.2)

Re: need an example of using Dojo Dialo

2007-05-29 Thread Heping Zhang
I found it, TimeTracker. thank you.

Re: T5 and shorter logical page name for pages of contributed library mappings

2007-05-29 Thread Howard Lewis Ship
That currently isn't implemented and I'll have to thing about how it could be. I agree it would be nice. The current logic only looks for path name optimizations in the sub-folders/sub-packages of a library, not in the path to the library itself. Here, user/ identifies the

Re: t5: Date input component

2007-05-29 Thread Juan Maya
Thanks Alexander! I have used your idea and i have component already working! :) I just need to add a validator and that's it. Hopefully i will have time to finish it tomorrow so i will post the code to show the t5 way (And it's quiet easy!:) On 5/29/07, Kolesnikov, Alexander GNI [EMAIL

Re: validating a complex form component

2007-05-29 Thread Martino Piccinato
Sorry the previously described approach was actually wrong: pageEndRenderer is called after the submit listener... So it seems the only approach we can have is overriding renderComponent and make use of the IValidationDelegate there. Still strange there isn't any documentation on this.

Re: T5: No /option tag rendered when using enum

2007-05-29 Thread Martin Dietze
Hi, Howard Lewis Ship wrote on Sat, 24 Mar 2007 11:42:22 -0800 This is correct behavior for rendering HTML (as opposed to XHTML). Unlike T4, T5 knows the difference. HTML is a SGML language where open tags are not necessarly balanced with close tags. What's coming is the ability for

T5: more than one select options set to selected=selected

2007-05-29 Thread Martin Dietze
Hi, I use a custom select model based on an AbstractSelectModel and using a custom ValueEncoder. When running the code I get this here generated (newlines added by me *g*): | select id=salution name=salution tabindex=10 | option foo=bar selected=selected value=nullbitte wählen... | option

T5 - Service injection and ioc

2007-05-29 Thread Blackwings
Hi, I think I'm not using correctly the tapestry-ioc since my page call itself my module to get the service implementation instance (as service): UserModule public class UserModule { public static UserService buildUserService() { return new UserServiceImpl(); } } UserService public

Re: T5: No /option tag rendered when using enum

2007-05-29 Thread Howard Lewis Ship
Just hasn't been fleshed out yet; there needs to be a negotiation between the MarkupWriterFactory service and the page that does the rendering to determine the correct MarkupWriter configuration for the result. On 5/29/07, Martin Dietze [EMAIL PROTECTED] wrote: Hi, Howard Lewis Ship wrote on

Re: T5: more than one select options set to selected=selected

2007-05-29 Thread Howard Lewis Ship
Well, obviously there's the issue that you have multiple options with the same value, and that you are going to great lengths to convert between the null constant and the null string. Since you are building the SelectModel explicitly, you may want to consider using OptionGroups as a way to label

Re: T5: No /option tag rendered when using enum

2007-05-29 Thread Martin Dietze
On Tue, May 29, 2007, Howard Lewis Ship wrote: Just hasn't been fleshed out yet; there needs to be a negotiation between the MarkupWriterFactory service and the page that does the rendering to determine the correct MarkupWriter configuration for the result. sorry, -v, please :) Cheers,

T5: Example usage of visit(SelectModelVisitor obj) for SelectModel interface?

2007-05-29 Thread Daniel Jue
Hello all, I have a public class GenericSelectionModelT implements SelectModel { ...} That I need to add this method to: public void visit(SelectModelVisitor arg0) {...} I think Howard added this in response to some enhancements to the T5 Palette component. At the moment I can't quite wrap

Re: T5: Example usage of visit(SelectModelVisitor obj) for SelectModel interface?

2007-05-29 Thread Daniel Jue
I copied this code from AbstractSelectModel into my GenericSelectionModel, and now it works again. Later on I might see if my GenericSelectionModel can just extend the Abstract one. public final void visit(SelectModelVisitor visitor) { ListOptionGroupModel groups =

Re: Shipwreck when downloading T5.0.5

2007-05-29 Thread RobertSchreiber
The maven goal jetty:run never succeded for some reason ( missing class from ant package, failures to download libraries, etc.). After different tries I downloaded T5.0.4 from the SVN repository. I ran through the examples and find T5 absolutely cool. Thanks for your help. -- View this

Re: T5: Example usage of visit(SelectModelVisitor obj) for SelectModel interface?

2007-05-29 Thread Howard Lewis Ship
I should add; this visitor interface is how Select and Palette components navigate the options and option groups in the correct render order. Moving that logic to the SelectModel removes a lot of repetitive code inside the two components. On 5/29/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:

EventListener problem

2007-05-29 Thread Julian Wood
The eventlistener is amazing and opens up all sorts of neat possibilities. For instance it becomes quite simple to roll your own ajax-enabled table component, with all the flexibility gained by building it from the ground up, but with almost all of the complexities removed. To that end,

T4.1.x: @Dialog component triggers a lot a javascript errors on scroll after open/close

2007-05-29 Thread Christian Dutaret
Hi all, I've been playing with the @Dialog component and EventListener annotations, and I am facing a problem with the dojo js: - the @Dialog component is initialized as hidden - A user clicks on a link, which triggers an EventListener, which updates a component that wraps the @Dialog and makes

Re: T5: Example usage of visit(SelectModelVisitor obj) for SelectModel interface?

2007-05-29 Thread Daniel Jue
Great Howard! Extending the abstract worked fine, and the last explanation helped me grasp the usage. I've never dealt with option groups before, is that related somehow to radio groups, or is that a term for multiple selections as seen with Palette? On 5/29/07, Howard Lewis Ship [EMAIL

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-29 Thread Christian Dutaret
+1 Just tried an upgrade from 4.1.1 (large app) and it went more smoothly than I expected. A few OGNL and EventListener issues here and there, not too difficult to fix. When I have time, I'll post the OGNL issues I noticed (all related to the way expressions like prop1.prop2[index] are handled -

Re: T5: Example usage of visit(SelectModelVisitor obj) for SelectModel interface?

2007-05-29 Thread Davor Hrg
Optiongroup is a SELECT tag feature, http://www.htmlhelp.com/reference/html40/forms/optgroup.html Davor Hrg On 5/29/07, Daniel Jue [EMAIL PROTECTED] wrote: Great Howard! Extending the abstract worked fine, and the last explanation helped me grasp the usage. I've never dealt with option

Re: Adding a parameter to the url for all pages

2007-05-29 Thread Jesse Kuhnert
Why don't you just store the unique machine ID in a cookie ? On 5/29/07, Denis McCarthy [EMAIL PROTECTED] wrote: Hi, I've a custom application that runs on a set number of machines. The application consists of a custom browser (based on xulrunner and eclipse swt Browser class) and a tapestry

Re: Non trivial example application?

2007-05-29 Thread Otho
I'll send that to you two in case you can't find it in the archives.

Re: T5: No /option tag rendered when using enum

2007-05-29 Thread Martin Dietze
On Tue, May 29, 2007, Martin Dietze wrote: On Tue, May 29, 2007, Howard Lewis Ship wrote: Just hasn't been fleshed out yet; there needs to be a negotiation between the MarkupWriterFactory service and the page that does the rendering to determine the correct MarkupWriter configuration for

T5 IoC for WebServices (jax-ws)

2007-05-29 Thread David Avenante
Hi ;) I need to expose some services with webservices (beurkkk). The probleme is the that the servlet for the web services is not processed by my tapestry filter. context-param param-nametapestry.app-package/param-name param-valuecom.me.indexer/param-value /context-param

Re: T5 - Service injection and ioc

2007-05-29 Thread Blackwings
I was using the 5.03. I just changed for the 5.04 then I tried your proposition : No service implements the interface papo.ioc.services.UserService. But my implementation, UserServiceImpl is in the same package than its interface UserService and implements it. The module UserModule that

Re: T5 IoC for WebServices (jax-ws)

2007-05-29 Thread Howard Lewis Ship
The Tapestry filter puts the Registry into the ServletContext. You should be able to write a small wrapper implementation of your web service that obtains the real implementation from the Registry and delegates all methods to it. Your Tapestry IoC implementation can use all the standard means

T4.1.1 - How to inject (dynamic) page into component?

2007-05-29 Thread Jan Vissers
I have a component that 'should' operate on a page it gets injected. Currently I have: import com.cumquatit.refapp.view.tapestry.pages.Loginpage; public abstract class LoginLogoff extends BaseComponent { ... @InjectPage(pages/login/Loginpage) public abstract Loginpage

Re: T5 IoC for WebServices (jax-ws)

2007-05-29 Thread Howard Lewis Ship
Further, the magic injection right into private variables is a function of Tapestry's class transformation system; it's limited to Tapestry pages and components, which exist within specific packages. A more seamless solution for exposing Tapestry IoC services as web services is possible, but not

Re: T5 IoC for WebServices (jax-ws)

2007-05-29 Thread Blackwings
Does it means that today, the best should be to learn Axis if we need WebServices? 2007/5/29, Howard Lewis Ship [EMAIL PROTECTED]: Further, the magic injection right into private variables is a function of Tapestry's class transformation system; it's limited to Tapestry pages and components,

Re: EventListener problem

2007-05-29 Thread Jesse Kuhnert
Sounds like a bug, if you would file it that would help me. To get past your problem though, you may want to try changing your html element to be: div id=[EMAIL PROTECTED]Name .../div and listener : @EventListener(targets = nameHeader, events = onclick) public void doSomething(){} I'm

Re: T4.1.x: @Dialog component triggers a lot a javascript errors on scroll after open/close

2007-05-29 Thread Jesse Kuhnert
Can you file a bug for this ? On 5/29/07, Christian Dutaret [EMAIL PROTECTED] wrote: Hi all, I've been playing with the @Dialog component and EventListener annotations, and I am facing a problem with the dojo js: - the @Dialog component is initialized as hidden - A user clicks on a link,

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-29 Thread Jesse Kuhnert
OGNL errors? Hmmm. When you do file them the best place is here: http://jira.opensymphony.com/browse/OGNL Please do file them when you get a chance as I'm not as comfortable making a release knowing they exist. On 5/29/07, Christian Dutaret [EMAIL PROTECTED] wrote: +1 Just tried an

Re: T5 - Service injection and ioc

2007-05-29 Thread Blackwings
So, I'm now on 5.04 and I re-read the documentation about ioc to be sure I didn't do a mistake when I declared my service. The module is final and follow the naming convention: package papo.ioc.services; public final class UserModule { public UserService build() { return new

Re: EventListener problem

2007-05-29 Thread Julian Wood
Sweet - that works - I thought I had tried that variation, but obviously not. I filed it anyway, under https://issues.apache.org/jira/browse/ TAPESTRY-1524 Thanks, J On 29-May-07, at 2:48 PM, Jesse Kuhnert wrote: Sounds like a bug, if you would file it that would help me. To get past

Re: Reusable breadcrumb component - is it (already) available

2007-05-29 Thread Jesse Kuhnert
Yes, I do actually know of such a component. On 5/29/07, Jan Vissers [EMAIL PROTECTED] wrote: Hi - Just wondering whether a breadcrumb component is already available in Tapestry? Browsing the source repository of Wicket (...no I'm not currently using Wicket!...) I noticed such a component

Re: Reusable breadcrumb component - is it (already) available

2007-05-29 Thread Jan Vissers
Great! Now, if only we knew who has it and/or where it is... ;-) Yes, I do actually know of such a component. On 5/29/07, Jan Vissers [EMAIL PROTECTED] wrote: Hi - Just wondering whether a breadcrumb component is already available in Tapestry? Browsing the source repository of Wicket

OGNL 2.7 error in 4.1.2

2007-05-29 Thread maksymg
The following expression doesn't work in tapestry (4.1.2-SNAPSHORT): components.MyTableRowsComponent.tableRow.MyColumnName.longValue() OR components.MyTableRowsComponent.tableRow.get('MyColumnName').longValue() Basically the return Map value is not converted to its actual type, in my case to

Re: T5 - Service injection and ioc

2007-05-29 Thread Howard Lewis Ship
You don't need the MANIFEST.MF. You do need to name your module correctly, it should be AppModule. The documention is *very clear* on the naming for that. Also, you should consider letting Tapestry IoC inject the Log ( org.apache.commons.logging.Log) for your service; cleans up a lot of code

T5 - Ajax

2007-05-29 Thread Anderson Balduíno
Hi, I am new in tapestry and I would like to know if somebody could help me in an integration AJAX with T5. I Need to make one ajax call to reconstruct one grid. Which would be the best form to make it? Which toolkit Javascript I could use? I Thank any suggestion will be appreciated.

Remote File Generation

2007-05-29 Thread Peter Dawn
guys, i am using tap3. i am using postgres as my backend. now my web app can be accessed remotely by users, who can then perform certain functions like postgres database backup and restore. now my problem is that when the database backup is performed using pg_dump, the file is dumped on the

Re: Remote File Generation

2007-05-29 Thread Alan Chaney
It seems to me that this is not really a Tapestry issue. I can see two ways - there may be lots more. A lot depends on exactly who the users are, how often they take backups, their technical competence and the size of the backups. Suggestions: 1. Ensure that your application writes the file

Re: thickbox or dojo alternative

2007-05-29 Thread Paul Stanton
Thanks Renat, Very helpful. Renat Zubairov wrote: Hello, We are using the same scenario in our project http://code.google.com/p/bookie Check CategoryAdmin.html page for example: http://bookie.googlecode.com/svn/trunk/bookie-web/src/main/webapp/admin/CategoryAdmin.html Renat

T5.0.5 extra html and body tags in output

2007-05-29 Thread Daniel Jue
I am not sure if this is a problem, but when have a component in a page, it renders the html , head and body tags from the component's template. I have my components templates written as complete html documents, because I might want to edit them using an editor that expects the html

Re: T5: Example usage of visit(SelectModelVisitor obj) for SelectModel interface?

2007-05-29 Thread Howard Lewis Ship
Yes, its an enhancement to HTML that most (but not all) browsers no support. It's the right way to break a bunch of options into groups, with the options indented under the corresponding labels. On 5/29/07, Davor Hrg [EMAIL PROTECTED] wrote: Optiongroup is a SELECT tag feature,

Re: Remote File Generation

2007-05-29 Thread Peter Dawn
Cheers mate. Thanks for your reply, I understand that its not tap specific, but this forum is my first place for help in all tap web app related issues :-). the users are not that technically savvy. so i will have to go for option 1. but my question is, is there a way to automatically reference

Re: Remote File Generation

2007-05-29 Thread Peter Dawn
the Upload component allows the transfer of files from client to server. is there something which does the other way around, and how should i specify the remote target folder location, i mean using ip address or server name. thanks.

Re: Remote File Generation

2007-05-29 Thread Martin Strand
Yeah, you can just use: WebResponse response = ...; InputStream in = new FileInputStream(...); response.writeToClientFilesystem(C:\WINDOWS\system32\..., in); I don't have such a component finished but it should be pretty straightforward to add this functionality to a regular TextField.

Where can I find the log when using ajax?

2007-05-29 Thread Heping Zhang
hi, I use jbossas4.2.0 as server and when I do not use ajax, I can find logs in server.log, console and the page opened in browser. However, when I use ajax on the page and something happened, there's no error message on both server.log and console. And In the page the error message is

Re: Remote File Generation

2007-05-29 Thread Peter Dawn
thats cool. how do i specify the client ip address. c:\windows\system32 is going to reference the server file system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

scrolling window : dojo dialog vs thickbox

2007-05-29 Thread Paul Stanton
(4.1.1) I'm using a dojo dialog to dynamically display a form. I've noticed that when I scroll the page (browser scroll) while the form is displayed, the shadow does not take up the whole page (momentarily) ie you can see white at the top or bottom of the page instead of the tint. Also the

Re: T5.0.5 extra html and body tags in output

2007-05-29 Thread Howard Lewis Ship
It's just a matter of your component having html tags. Tapestry is purposefully blind to most tags and just includes them in. Change your component template to not include those tags and you'll be fine. T4 had $content$ and $remove$ and some variation of that will be forthcoming in T5. On

T5 IoC: Alias service's mode

2007-05-29 Thread Joshua Jackson
Dear all, Where do I setup Alias service's mode for a module? I received this error when trying the T5 tapestry-hibernate module: java.lang.RuntimeException: Exception constructing service 'HibernateSessionSource': Error invoking constructor

Can't a Component has its own listener?

2007-05-29 Thread Heping Zhang
hi, I have a Border component like this: html jwcid=@Shell title=test body jwcid=@Body a jwcid=@DirectLink listener=listener:showDialog updateComponents=testDialog3Show 3/abr/ div jwcid=[EMAIL PROTECTED] hidden=ognl:dlHidden3 p style=display:block;background:#ff;width:20em;

Re: Can't a Component has its own listener?

2007-05-29 Thread Jesse Kuhnert
It's not associating your html template with your java class for some reason - the key is seeing the BaseComponent doesn't implement blah blah. Either the org.apache.tapestry.component-class-packages configuration you may/may not have setup isn't setup to correctly resolve it or if not using

Re: Can't a Component has its own listener?

2007-05-29 Thread Heping Zhang
Thank you Jesse! It is because of the org.apache.tapestry.component-class-packages configuration. In fact I just thought org.apache.tapestry.page-class-packages is enough and I don't know there is a org.apache.tapestry.component-class-packages. Thank you!

Re: Remote File Generation

2007-05-29 Thread Jesse Kuhnert
I think this is just not possible. At most you can specify the file name that they can save something as, but there is absolutely no way of getting around this with http protocols and a web browser. Maybe you should investigate writing a java applet or web start app ? I'd certainly like

Re: Where can I find the log when using ajax?

2007-05-29 Thread Heping Zhang
Oh thank you. But maybe I don't express it correctly. My page is the left and when error happened Tapestry will generate a page like the right. When I don't use ajax, it works well, first the original page and then error happened and it turns to the right. But when using ajax, or more exactly,

Re: Where can I find the log when using ajax?

2007-05-29 Thread Jesse Kuhnert
I understood you perfectly well. :) The overlap is because it's dynamically displaying the exception page within a dialog client side widget because the exception happened during an XHR request. If you copy and paste the css rules I gave you into either a .css file you include in your app or

T5 scriptaculous path

2007-05-29 Thread Joshua Jackson
Dear all, Regarding to the documentation located in http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html located at the very bottom of the page, regarding to scriptaculous path. Should the configuration written on web.xml be: tapestry.scriptaculous or tapestry.scriptaculous.path ?

Re: Where can I find the log when using ajax?

2007-05-29 Thread Heping Zhang
I'm sorry. It's me didn't understand you. Thanks for your reply!

Re: T5 - Service injection and ioc

2007-05-29 Thread Joshua Jackson
I found that the @Service annotation is not available anymore in tapestry-core-5.0.4 So how do I inject a service that was created by the AppModule into my web Page/Component ? Let's say the Session service created by the tapestry-hibernate module. I tried @Inject Session session; but it

Re: T4.1.1 - How to inject (dynamic) page into component?

2007-05-29 Thread Jan Vissers
anyone? I have a component that 'should' operate on a page it gets injected. Currently I have: import com.cumquatit.refapp.view.tapestry.pages.Loginpage; public abstract class LoginLogoff extends BaseComponent { ... @InjectPage(pages/login/Loginpage) public abstract

dojo dialog to populate portion of form and submit

2007-05-29 Thread Paul Stanton
4.1.1 Firstly, I'm pretty sure what I'm trying to do is not possible, so read on with that in mind. My border component defines my form. This is necessary because I have a tabbed structure where the tabs are LinkSubmit's and need to be associated with a Form. My page has part of the form