Re: Passing values of components to javascript function

2005-09-15 Thread Ivano
Hi, are you sure that tapestry is not overwriting the components "id" attributes, thus breaking your javascript conditionals? Try checking the live output html produced by tapestry. Ivano. Ananya Goswami wrote: Hi all!!! I have a uploadmedia html page where I am uploading files . .I

Have a small Query

2005-09-15 Thread Anjali Abraham
Can I call a Listener method from my html's tag element. If so, how to call the same... Please respond with solution... Regards, Anjali

RE: Tapestry 4 stable, when?

2005-09-15 Thread Varun Mehta
Can we also have some good tutorials for starters on Tapestry 4? I had something of T3, but then T4 also has some changes in terms of defining the application file and other details. A comparison for porting would be great... Regards Varun Mehta Phone: (020) 2570 2564 Websites: * http://va

Injecting a Spring service in Global

2005-09-15 Thread Leonardo Quijano Vincenzi
What's the best way to inject a spring service to the Global object? Such as: public void setGenericService(GenericService service) { this.service = service; } in the global object... ? I guess I could make Global a Spring - managed bean but how can I take a bean from Spring

Table Column width

2005-09-15 Thread Eng Lark Eric Tan
Dear all, Thank you. But this will end up with a long-long-long CSS file. I've tried to add "width="200"" into the html but it fail and I don't under what's the problem. Best regards, Eric Tan :( ?? org.apache.tapestry.BindingException Unable to update expression 'tableColumn' fo

Re: External Stylesheet (TP4) and Assets

2005-09-15 Thread Cory Watson
On 9/15/05, Kent Tong <[EMAIL PROTECTED]> wrote: > > Cory Watson gmail.com > writes: > > service=chart is telling Tapestry to call the chart service > (not the page service). page=Bar is telling the chart > service that the Bar page is a component that implements > IChartProvid

Re: External Stylesheet (TP4) and Assets

2005-09-15 Thread Kent Tong
Cory Watson gmail.com> writes: > > Yes. The URL may look like > > http://localhost/foo/app?service=chart&page=Bar > > Interesting. I feel we are getting closer! > > How does the 'service=chart' parameter change the behavior of the Bar > page? Does it inject the service or something? servic

Re: DatePicker security warning in IE with SSL connection RESOLVED

2005-09-15 Thread RR
Branding myself a hasty hoser, the previously posted code did not work (my test page was cached with a previous attempt). So, for real this time, the fix is: commenting out that line of code for generating the IFrame. Of course, if you have a dropdown underneath it then you'll probably want it,

Re: DatePicker security warning in IE with SSL connection RESOLVED

2005-09-15 Thread RR
Thanks to this thread, http://thread.gmane.org/gmane.comp.java.tapestry.user/13528, I have changed DatePicker.js: (previous line) underDiv.innerHTML = ""; (new code) underDiv.innerHTML = " "; Works wonderfully. On 9/15/05, RR <[EMAIL PROTECTED]> wrote: > > > >opening the DatePicker window

Re: contrib Table sorting

2005-09-15 Thread Radim Burget
Hi Tom, your problem is probably in wrong initialization in method pageBeginRender(...) which is called after sorting - so this is the reason of your exception. I guess you are using something like this: public void pageBeginRender(PageEvent event) { setUsers(getUserManager().getUsers(n

DatePicker security warning in IE with SSL connection

2005-09-15 Thread RR
>opening the DatePicker window yields a security warning in Internet >Explorer when using an SSL connection. The message is the infamous "This >page contains both *secure* and non*secure* *items*. Do you want to display >the non*secure* *items*?". http://article.gmane.org/gmane.comp.java.tapestry.u

Re: Reset service

2005-09-15 Thread Tomáš Drenčák
I use reloadable application (jetty launcher and debug mode), so I can see changes in methods immediatelly, but changes do not affect annotations (e.g. @Component) (I think that annotations are cached somewhere like another specifiacation files (jwc, page)). Reset service works great to erase page

Re: Tapestry 4 stable, when?

2005-09-15 Thread Howard Lewis Ship
beta-6 is stable, we're just finding and fixing minor bugs. We'll leave beta once all the bugs are found and fixed. The more exposure the code gets, the faster that can happen, so start developing with beta-6. On 9/15/05, NYG <[EMAIL PROTECTED]> wrote: > > Hi all, > > Is Beta-6 the last beta f

Re: Need to extend functionality to class available to whole application.

2005-09-15 Thread Norbert Sándor
Maybe create a simple hivemind service for it... BR, Norbi - Original Message - From: "Ted Steen" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Thursday, September 15, 2005 10:02 PM Subject: Need to extend functionality to class available to whole application. Hi! I'm planning t

services vs. ASOs

2005-09-15 Thread Rob Dennett
For what purposes should you be using Hivemind services versus ASOs. I gather that services should be stateless, but how should they divide up the business logic? What is an example of where you would use each? Also, when are the two instantiated? At launch? On first use? Thanks for y

RE: Need to extend functionality to class available to whole application.

2005-09-15 Thread Patrick Casey
Can't you just use a static e.g. Public static final PlugInManager fManager = new PlugInManager(); ? > -Original Message- > From: Ted Steen [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 15, 2005 1:03 PM > To: Tapestry users > Subject: Need to extend funct

Need to extend functionality to class available to whole application.

2005-09-15 Thread Ted Steen
Hi! I'm planning to add support for plugin loading for my webapp. It will be possible to add plugins and activate them "on the fly" using JPF http://jpf.sourceforge.net/index.html Now I need a place to put my plugin manager. So I need to extend functionality to an existing Tapestry class that is

Re: External Stylesheet (TP4) and Assets

2005-09-15 Thread Cory Watson
On Sep 15, 2005, at 10:48 AM, Kent Tong wrote: Cory Watson gmail.com> writes: I appreciate the response, and I'm sure that if I was less naive about Tapestry your response would give me some direction. Unfortunately, it doesn't do much for me :( Can you give me some hints? Am I expect to

tap 4 beta 6 clientValidationEnabled doe not seem to work

2005-09-15 Thread seloha .
I am using tap 4 beta 6 and have a form with client side javascript enabled: delegate="ognl:beans.delegate" clientValidationEnabled="true"> also in the form is a field for validation: value="ognl:someValue" displayName="Some Value" validators="validators:required"/> and to submit the form:

Tapestry 4 stable, when?

2005-09-15 Thread NYG
Hi all, Is Beta-6 the last beta for Tapestry 4? I am so excited now and would really like to see a stable version of Tapestry 4. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Reset service

2005-09-15 Thread Kent Tong
Tomáš Drenčák gmail.com> writes: > When I change something in .page, .jwc or .html file I have to run > reset service to see changes. Then you should disable page caching by setting the JVM property org.apache.tapestry.disable-caching to true. > The same I'd like to do with annotations > in c

Re: External Stylesheet (TP4) and Assets

2005-09-15 Thread Kent Tong
Cory Watson gmail.com> writes: > I appreciate the response, and I'm sure that if I was less naive > about Tapestry your response would give me some direction. > Unfortunately, it doesn't do much for me :( Can you give me some > hints? Am I expect to make ChartService take parameters just

Re: javascript handle_invalid_field?

2005-09-15 Thread Howard Lewis Ship
Need more data; HTML template, page spec, HTML output at a minimum On 9/15/05, Dan Adams <[EMAIL PROTECTED]> wrote: > When submitting my form the javascript function handle_invalid_field is > undefined. Should this go in jira or did i do something wrong? > > -- > Dan Adams > Software Engineer > I

javascript handle_invalid_field?

2005-09-15 Thread Dan Adams
When submitting my form the javascript function handle_invalid_field is undefined. Should this go in jira or did i do something wrong? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: JDK 5 conflict with Tapestry Enum

2005-09-15 Thread Shing Hing Man
Oohs ! You are right Markus. It should be "-source 1.4" Shing --- Markus Eberle <[EMAIL PROTECTED]> wrote: > Zitat von Shing Hing Man <[EMAIL PROTECTED]>: > > > You might like to try adding the option "-source > 1.5" > > ^^^ >

Re: JDK 5 conflict with Tapestry Enum

2005-09-15 Thread Markus Eberle
Zitat von Shing Hing Man <[EMAIL PROTECTED]>: > You might like to try adding the option "-source 1.5" ^^^ Shouldn't that be a 1.4 ? Cheers, Markus > when you javac your orginal java 1.4 source files. > > S

Re: need help to start with Tapestry

2005-09-15 Thread Shing Hing Man
Have you tried moving Home.html to webapps\examples ? Shing --- Shalini Goel <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I have the following files with me - > > web.xml in path E:\Tomcat > 4.1\webapps\examples\WEB-INF > > Home.html in path E:\Tomcat > 4.1\webapps\examples\WEB-INF >

Re: Column Width of Block

2005-09-15 Thread Dan Adams
have you tried styling the column with a css class? like if you have a column name 'person' I think class comes out as 'personColumnValue' (check the html source to be sure) then you can just do something like this is a stylesheet: td.personColumnValue { width: 40px; } hope this helps. On Thu,

Re: JDK 5 conflict with Tapestry Enum

2005-09-15 Thread Shing Hing Man
You might like to try adding the option "-source 1.5" when you javac your orginal java 1.4 source files. Shing --- Augmentin <[EMAIL PROTECTED]> wrote: > Hi All, > > After I upgraded to JDK 5, my project won't compile > because all references > to org.apache.commons.lang.enum.Enum in my prog

Re: JDK 5 conflict with Tapestry Enum

2005-09-15 Thread Geoff Longman
The quickest and simplest way is to switch your enums from commons.lang enums to JDK 1.5 enums. You didn't ask for backwards compatibility ;-) Geoff On 9/15/05, Augmentin <[EMAIL PROTECTED]> wrote: > Hi All, > > After I upgraded to JDK 5, my project won't compile because all references > to org.

Passing values of components to javascript function

2005-09-15 Thread Ananya Goswami
Hi all!!! I have a uploadmedia html page where I am uploading files . .I have a browse button and a filename text field .as soon as a file is browsed and included, the filename field should be automatically populated with the name of the file. I tried using javascript which works fine wit

JDK 5 conflict with Tapestry Enum

2005-09-15 Thread Augmentin
Hi All, After I upgraded to JDK 5, my project won't compile because all references to org.apache.commons.lang.enum.Enum in my programs conflict with the new Java keyword "enum". Then I changed to use org.apache.commons.lang.enums.Enum to try to avoid the problem but then all the calls to new

RE: Persistent properties and components

2005-09-15 Thread Joe Trewin
Had a similar problem, where we have id's being posted back into a component or page from a form that are used to look up and prepare some data for elements within the page. We now do this by a bit of lazy initialisation in the accessors and by then implementing the pageDetach method (and implemen

RE: Reset service

2005-09-15 Thread Joe Trewin
Annotations are compiled into the classs they appear in, so in order to get them to reset Tomcat (or rather the classloaders) would have to be able to reload a class. I'm using Eclipse and the Tomcat plugin, which automatically reloads a context when classes change (it's possible that this is j