Re: Tutorials on Tapestry 4.1.1 and AJAX/javascript

2007-03-21 Thread Ron Piterman
AFAIK Kent's book covers that - http://www.agileskills2.org/EWDT/ Cheers, Ron Wojtek Ciesielski wrote: > Hi all, > > Are there ANY written tutorials on how to use Javascript (AJAX) > integration built in Tapestry 4.1.1? Or are API docs like > http://tapestry.apache.org/tapestry4.1/javascript/f

Re: Download link for T4 broken

2007-02-27 Thread Ron Piterman
http://tapestry.apache.org/download.html Cheers, Ron Borut Bolčina wrote: > While looking for source code for Virtual Library I discovered a broken > link > > http://jakarta.apache.org/site/downloads/downloads_tapestry.cgi > on > http://tapestry.apache.org/tapestry4/downloads.html > > P.S. Whe

Re: Parameter has already been declared

2007-01-10 Thread Ron Piterman
try changing string[] to Collection and see if this changes anything, tapestry is probably able to coerce these values, isn't it? Cheers, Ron Dan Adams wrote: > Someone here has an application where he's getting the following > exception: > > Caused by: org.apache.hivemind.ApplicationRuntimeExce

Re: "Library 'contrib' not found in application namespace" when use Tree component

2007-01-10 Thread Ron Piterman
try to write some nonsence the application xml so it won't render (an open ), I would suspect it is not being referenced. then check that tapestry servlet name is the same as the name you gave the .application Cheers, Ron Zha Minjie wrote: > Hi all: > I am trying to use Tree component in contri

Re: making links :visited across components

2007-01-09 Thread Ron Piterman
Dennis Sinelnikov wrote: > Ron, > > Since code speaks thousand words :), I would love to see some sample > code on what you're trying to do and how you did it. If you're busy, no > biggie, just trying to learn a new pattern... :) yes, I am busy. I will try to demonstrate it: === IN

Re: reading a file in web root in a Tapestry fashion

2006-12-21 Thread Ron Piterman
http://hivemind.apache.org/hivemind/BuilderFactory.html#Autowiring Cyrille37 wrote: > Ron Piterman a écrit : >> yes, thats it - BTW, you don't need an explicit set-service. >> just exposte a setter in your implementation class, and hivemind will >> auto

Re: reading a file in web root in a Tapestry fashion

2006-12-21 Thread Ron Piterman
le, there have to be only one service of the type ... > otherwise you have to specify what service > do you want to ... > > Jirka > > Cyrille37 napsal(a): >> Ron Piterman a écrit : >>> yes, thats it - BTW, you don't need an explicit set-service. >>>

Re: reading a file in web root in a Tapestry fashion

2006-12-21 Thread Ron Piterman
yes, thats it - BTW, you don't need an explicit set-service. just exposte a setter in your implementation class, and hivemind will autowire it: public void setServletContext( ServletContext ctx) {...} Cheers, Ron Cyrille37 wrote: > Ron Piterman a écrit : >> On which class do you

Re: reading a file in web root in a Tapestry fashion

2006-12-21 Thread Ron Piterman
On which class do you need to access the resource? Cheers, Ron Cyrille37 wrote: > Hello, > Sure it is a beginner question, but I'm a beginner :o) > > I would like to read a file which is located in the web root folder, and > put it in a String. > I had a look around the Internet and found some

Re: Tap4 documentation: the For component example is not complete

2006-12-21 Thread Ron Piterman
Hallo cyrille, Its under project information (bottom of navigation) /Issue tracking http://tapestry.apache.org/issue-tracking.html You are in a very good situation to help improve the docu, becuase you are learning tapestry from ground up, and doing it very thoroughly- so its really important y

Re: DirectLink with another element instead of

2006-12-21 Thread Ron Piterman
AFAIK all link components have a linkRenderer parameter - I think thats what you need... Cheers, Ron talk.small wrote: > I want to create the href with DirectLink, but with another owner element of > instead of > becuase I want to render an image map on the page like this: > > > > > > >

Re: hook into T4's page creation process

2006-12-21 Thread Ron Piterman
yes, there is a configurable annotation workers, so you can create/extend/override page methods when tapestry is preparing the page/component class. You can create your own class worker which will add the needed logic to the mentioned attach event. Take a look at the annotations module code and h

Re: Standalone plugins

2006-12-20 Thread Ron Piterman
ted and future > modifications or additions of new plugins could be > done by the best bidder. > > Do you think the technical possibilities are enough > for such scenario? > > Cheers > Pedro > > > --- Ron Piterman <[EMAIL PROTECTED]> escribió: > >

Re: [Tap4.0.2] about @Persist("client")

2006-12-20 Thread Ron Piterman
Happy debugging :) Ron Cyrille37 wrote: > Ron Piterman a écrit : >> I would tip that you hold a reference to a page or some threaded bean >> where you shouldn't. just a wild guess - >> > Hi Ron. > Thanks for your little chocolate :) > > But the same cod

Re: [Tap4.0.2] about @Persist("client")

2006-12-20 Thread Ron Piterman
80/Tap03/Docum/DocumentEdit.html >> And ARGH! It display the page with the property "docId" set to 14 >> (like if I call service external with sp=14). >> >> That's crazy. The page and its property seems to be a Singleton instance. >> >> With Tomc

Re: Standalone plugins

2006-12-20 Thread Ron Piterman
It could be done, but above all needs restarting of the servlet container for every change- Since hivemind lets you peekup configuration from every jar on the classpath, configuration isn't an issue. However, adding a library without making an explicit reference to it should be quite difficult -

Re: [Tap4.0.2] about @Persist("client")

2006-12-19 Thread Ron Piterman
forgot about cookies just before christmas? what do you eat those days? :) Ron Cyrille37 wrote: > Ron Piterman a écrit : >> user @Persist("client:page") >> >> AFAIK, "client" uses cookies. >> > Argh! I've forgotten those so delicious cook

Re: [Tap4.0.2] about @Persist("client")

2006-12-19 Thread Ron Piterman
user @Persist("client:page") AFAIK, "client" uses cookies. Cheers, Ron Cyrille37 wrote: > Hello, > There is something I do not understand. > > I've got a page which remember a property "docId" with the > @Persist("client") annotation. >@Persist("client") >public abstract int getDocId()

Job Offer in Germany/Berlin

2006-12-19 Thread Ron Piterman
Hi All, The Company I am working for is searching for tapestry developer in Berlin/Germany. The application we are developing is base on tapestry 4.0 with a custom ajax extention based on dojo. The team contains currently 3 highly skilled j2ee developers and 1 front end (tapestry) developer. On

T41: RedirectException and async?

2006-12-18 Thread Ron Piterman
I have a small security workflow which is heavily based on RedirectExceptions - and was wandering how the tapestry javascript would accept this - When a page is accessed with unsufficient permitions, a RedirectException is thrown. Now, what if the request is async ? Cheers, Ron --

Re: Proper way to get ApplicationStateManager?

2006-12-15 Thread Ron Piterman
nVisit", aVisit); } return aVisit; } Thanks, Greg -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Ron Piterman Sent: Thursday, December 14, 2006 2:23 PM To: users@tapestry.apache.org Subject: Re: Proper way to get ApplicationStateManager?

Re: Array-gotcha in .script files

2006-12-15 Thread Ron Piterman
Would you place this in the wiki? Cheers, Ron Jim Steinberger wrote: Just wanted to give a heads up on a gotcha I ran into. The "index" value of the "foreach" tag is stored as a String, not an integer, so be careful when using it to, say, index into an array. e.g. If you have a two-di

[ANN] tapestry revisor: syntax checker for tapestry

2006-12-15 Thread Ron Piterman
Hi All, I just uploaded a very early release of tapestry revisor to http://www.piterman.net/tapestry-revisor-0.1.zip Tapestry revisor is a syntax checker for tapestry 4.0 and 4.1. It currently runs as a standalone application, easily launched from an IDE. Integration with IDE is in plan. So

Re: Proper way to get ApplicationStateManager?

2006-12-14 Thread Ron Piterman
Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Ron Piterman Sent: Thursday, December 14, 2006 2:23 PM To: users@tapestry.apache.org Subject: Re: Proper way to get ApplicationStateManager? Tell us when do you need it and why... *maybe* we can tell you how... Cheers, Ron [EM

Re: Proper way to get ApplicationStateManager?

2006-12-14 Thread Ron Piterman
Tell us when do you need it and why... *maybe* we can tell you how... Cheers, Ron [EMAIL PROTECTED] wrote: Thanks Dennis - I'm not sure I understand how to go about fixing the problem if it's null at the times I need it :) Greg Greg, You can do what you described before, but pull your

Re: Proper way to get ApplicationStateManager?

2006-12-14 Thread Ron Piterman
I think you can access the ASM only in the context of a request. Cheers, Ron [EMAIL PROTECTED] wrote: Hmm oh dear, just found this at the bottom of my HUGE stack trace... related perhaps? I'm not doing something good with hivemind? Caused by: java.lang.IllegalStateException: The Infrastructur

Re: IAutocompleteModel change

2006-12-14 Thread Ron Piterman
ter, so you can still use a list of Object[] in your filter method, but you habe to check beforehand what is given, the value (entity) or an Object[]... Better? Cheers, Ron Regards: Norbi Ron Piterman írta: I think you get a List from hibernate? you can change your model to extract object[0]

Re: IAutocompleteModel change

2006-12-14 Thread Ron Piterman
BTW - I am the initiator of this change - sorry if I made you any trouble, but I hope you can also see the benefit... If you follow my prev. posting, I you should also add a class check in the getPK and getLabel - because the value object is also passed to these objects. - I agree, its not soo

Re: IAutocompleteModel change

2006-12-14 Thread Ron Piterman
I think you get a List from hibernate? you can change your model to extract object[0] as key, object[1] as value, and return the whole object for getForPrimaryKey( key ) - ( I think its another method signature- but the same meaning)... Cheers, Ron Norbert Sándor wrote: Hello, Unfortunatelly

Re: For loop Rewind problem

2006-12-14 Thread Ron Piterman
Tapestry traces the rendered components and uses this info on rewind - its better not to temper with that. If you need JS magic, try using T41 - using Ajax this should be possible, though only straight-forward for jesse and other enlightend developers :) Cheers, Ron Jiju Mathew wrote: Hi All

Re: Moving Components inside a Border Component...

2006-12-14 Thread Ron Piterman
ava:170) # ognl.SimpleNode.getValue(SimpleNode.java:210) # ognl.Ognl.getValue(Ognl.java:333) # ognl.Ognl.getValue(Ognl.java:310) So what I'm missing? I really can't figure it out... Ron Piterman-2 wrote: you put it in the template of the component, and thats it. if you want it to

Re: Moving Components inside a Border Component...

2006-12-14 Thread Ron Piterman
you put it in the template of the component, and thats it. if you want it to be configured from the page/container you use parameter chain. for example: your border might contain (and probably will): ... since the title is different in every page you add a title parameter to your border: @P

T41: how to render the ID attribute in an abstract component

2006-12-13 Thread Ron Piterman
Hi all, I have an custom component which is inheriting from AbstractComponent - it is a custom image, which renders - now what would be the right way to render the ID attribute into it ( the clientId which is auto generated... or an informal id parameter) ? Cheers, Ron

Re: Some Redirect after Post issues

2006-12-13 Thread Ron Piterman
Did you try to use @Persist("client:page") ? this will encode your property in a hidden form field (and in links URLs, so the become quite ugly) - but you don't need the hidden fields... Cheers, Ron Bastian Voigt wrote: Andreas Andreou schrieb: Since the form is in an 'area page' and t

OT: STIQ Anyone?

2006-12-13 Thread Ron Piterman
On one of the posts above someone mentioned STQI in conjuction with Selenium, so i took a look - it look really nice, but no docu - can someone give me a hint where to start from ( after installing...) ? Cheers, Ron - To unsu

Re: Automated Testing Tool

2006-12-13 Thread Ron Piterman
STIQ looks really neet, do you have some good information source about how to get start with it? There is a great install-guide, but the usage-overview is completley missing... Would really like to try it out... Cheers, Ron Konstantin Ignatyev wrote: Selenium and its wrapper STIQ. --- Migue

Re: Optgroup

2006-12-12 Thread Ron Piterman
There is a renderer parameter to the PropertySelection component, which sadly is being ignored. here are the classes, you can just copy, set the package and use. They are a modified version of the PropertySelection component cheers, Ron == import

Re: @Persist and @InitialValue (followup)

2006-12-07 Thread Ron Piterman
Yes, it doesn't seem they work together - for me too... (on t4.0) Cheers, Ron Dan Adams wrote: > I've ran into a problem that other people seem to have reported on the > mailing list before. But my unanswered question is: if you use @Persist > and @InitialValue, when does the value get set back fr

Re: 4.1 Stability (Hi Jesse! :P)

2006-12-05 Thread Ron Piterman
If you need ajax, you can't go around 4.1 - if you don't, 4.0 has some advantages (as far as I can see) - such as much smaller javascript footprint for form validation, and stability - However, Jesse does a great work in fixing bugs in 4.1 very fast, I go to sleep in Europe and Jesse fixes the bug

Re: 4.1 Stability (Hi Jesse! :P)

2006-12-05 Thread Ron Piterman
Hijacking threads is an antipattern ;) still - don't know why you ask, but you can find the tapestry 4.1 dependencies under the framework module ( tapestry -> 4.1 -> modules / framework -> dependencies ) took me a while to find where this is hidden... Cheers, Ron [EMAIL PROTECTED] wrote: > Does

Re: Problem with Euro symbol

2006-12-05 Thread Ron Piterman
rit when it comes > to problems) > > --sam > > On 12/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: >> If you get to something more definitive let me know. I should probably >> take i18n issues very seriously considering the percentage of >> users/developer

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
that. On 12/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Thanx, but I am using: public Format getCurrencyFormat() { Locale l = getPage().getEngine().getLocale(); return new NumberTranslatorFormat( NumberFormat.getCurrencyInstance( l ) ); } the NumberTranslatorFormat is a custom format

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
formatting to the given CurrencyFormat. :( Cheers, Ron Christian Haselbach wrote: Zitat von Ron Piterman <[EMAIL PROTECTED]>: The € is comming from the java currency format object: NumebrFormat.getCurrencyInstance(); Just a guess. You are using a number format without specifyi

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
"€";} and then into ? On 12/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Andrea Chiumenti wrote: > try ISO-8859-15, what happen ? nothing changes :( > and is fomrat really what you have on src ? If so correct with format no, fomrat was just a typo in the posting. >

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
"€";} and then into ? On 12/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Andrea Chiumenti wrote: > try ISO-8859-15, what happen ? nothing changes :( > and is fomrat really what you have on src ? If so correct with format no, fomrat was just a typo in the posting. >

Re: Problem with Euro symbol

2006-12-04 Thread Ron Piterman
Andrea Chiumenti wrote: try ISO-8859-15, what happen ? nothing changes :( and is fomrat really what you have on src ? If so correct with format no, fomrat was just a typo in the posting. kiuma On 12/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Hi all, I am using the cu

Problem with Euro symbol

2006-12-04 Thread Ron Piterman
Hi all, I am using the currency format is a java standard currency format, but the Euro symbol is not inserted properly so one gets a ¤ instead of € - any idea why and how to change that? the page includes the standard which is generated by the Shell component. Cheers, Ron

Re: Empty string becomes null on submit

2006-11-30 Thread Ron Piterman
afaik this is the normal behaviour: empty fields set the property to null. Cheers, Ron Inge Solvoll wrote: I've suddenly gotten a problem in my code. When I enter nothing into a text field on a tapestry page and submit, the corresponding abstract getter method returns null instead of empty stri

Re: Multiple browser windows causing session issue

2006-11-30 Thread Ron Piterman
It depends on the setup of your wizard, if it a single page iterating over components or a series of tapestry pages following each other - but either way you prevent such problems by persisting flow information in the client, not as cookies but on a page - based in URLs. You should always keep

Re: span key - dynamic component, and may not appear inside an ignored block

2006-11-29 Thread Ron Piterman
check if all yaour attributes are closed properly. Cheers, Ron John Coleman wrote: This code: Save the record and return Produces this error: Tag on line 125 is a dynamic component, and may not appear inside an ignored block. Is there a simple way around this, I would rather lik

Re: Update component loses its @EventListener

2006-11-28 Thread Ron Piterman
m you are having is the same as mine (I think it might be) then it is fixed in the snapshot from last night. On 11/28/06, Ron Piterman <[EMAIL PROTECTED]> wrote: ok - I see there is a jira issue about this one... Ron Piterman wrote: > Hi all - > I have a simlar scenario to the ab

Re: Update component loses its @EventListener

2006-11-28 Thread Ron Piterman
ok - I see there is a jira issue about this one... Ron Piterman wrote: Hi all - I have a simlar scenario to the above post with the same name: I call responseBuilder.updateComponent on the template-container of a component with an @EventListener. The component is being rendered but the

Update component loses its @EventListener

2006-11-28 Thread Ron Piterman
Hi all - I have a simlar scenario to the above post with the same name: I call responseBuilder.updateComponent on the template-container of a component with an @EventListener. The component is being rendered but the javascript is not regenerated. The usecase is as follows:

Re: @Asset problem

2006-11-27 Thread Ron Piterman
You are mixing between creating assets and defining them. The annotation is defining an asset, and what you probably want is create a new one on the fly.- To do so, you need to inject one of the AssetFactory services from here, and use it to create one on the fly... http://tapestry.apache.o

Re: Help with bindings needed

2006-11-26 Thread Ron Piterman
Sure you didn't forget ognl: prefix in a parameter binding? Cheers, Ron Andrea Chiumenti wrote: Hello I've the following problem with a component that inherits from an AbstractComponent one: Error converting value for parameter editTable: No type converter for type org.jfly.web.components.edit

Re: Dynamic Working with Tapestry...

2006-11-26 Thread Ron Piterman
urther function) the Problem is that I don´t know how to check the Validation of each component in the "doSubmit-Method". I need a way to iterate over the "subcomponents"!?!?! Maybe your way would work, but then it´s incosistent to my hierachy. P.S. Thx for help.

Re: 2nd try: ajax updating components inside a For

2006-11-26 Thread Ron Piterman
age but it works now. An example to look at might be http://opencomponentry.com:8080/timetracker/LocaleList.htm On 11/24/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Hi all, I have a simple For loop which iterates over some object. the objects are all rendered to DirectLinks. When a Direct

Re: deploying .war file on tomcat

2006-11-24 Thread Ron Piterman
I know this from jboss, but may be it also applies to tomcat: Check if TOMCAT_HOME is pointing to the same installation of tomcat you acatually use. Cheers, Ron MattHouston wrote: Hi everybody, I'm developping an application using Tapestry with Eclipse. I use Tomcat inside Eclipse to test my

Re: how to wrap tapestry.services.FactoryServices?

2006-11-24 Thread Ron Piterman
correct me if i somehow forgot something, i'm still getting used to hivemind. Ron Piterman wrote: I don't get exactly what you want to do by "wrapping". You can replace an implementation of a service by providing another implementation, but then the old one will not exist in t

Re: How to active a page in @EventListener method?

2006-11-24 Thread Ron Piterman
don't know either, but have you tried getRequestCycle().activate( page )? Cheers, Ron Jun Tsai wrote: hi,all I find the eventListener can't active a page.such as @EventListener(elements = {"PriceTypeField0","PriceTypeField1","PriceTypeField2"}, events = "onclick") public IPage doSomethin

Re: Dynamic Working with Tapestry...

2006-11-24 Thread Ron Piterman
is not the problem, I stillt tried taht and it works.. I want that my ContainerElement includes the "@Form" and in the Form tag the dynamic Number of Components is included. So the ConatinerElement have to take care of binding and updating the values of the Subcomponent. Ron Piterman-2 wr

Re: how to wrap tapestry.services.FactoryServices?

2006-11-24 Thread Ron Piterman
I don't get exactly what you want to do by "wrapping". You can replace an implementation of a service by providing another implementation, but then the old one will not exist in the registry anymore. But it sounds more what you need is to intercept the services - take a look at hivemind interc

Re: Dynamic Working with Tapestry...

2006-11-24 Thread Ron Piterman
There are some approaches to that problem, one approach would be to use the parameter binding for that: The component gets a paraemter from its container, and is responsible to update the parameter. Say you have a property on your page/container component: public Data getData() {...} public

2nd try: ajax updating components inside a For

2006-11-24 Thread Ron Piterman
Hi all, I have a simple For loop which iterates over some object. the objects are all rendered to DirectLinks. When a DirectLink-listener is called, the clicked Item should change to "edit view" and render a Form instead of the Link. When the form is submitted, the item should render again to the

4.1 : updating components inside a For

2006-11-23 Thread Ron Piterman
I Guess this is a frequent question, yet I could not find an anwer in the forum: I have a for iterating over some objects, generating a list of direct links ( "view mode"). what I want to achieve is that when a link is activated, only the selected item refereshes to a form ("edit mode"), whi

Re: nested foreach problem

2006-11-22 Thread Ron Piterman
To follow the error message, you probably declared an abstract property getter (or declared a Dear groups > > Sorry for last incomplete email. > > I have some problem when using nested foreach problem. > I have a list of products. It works fine when display > one by one using foreach. > > >

Re: button values

2006-11-22 Thread Ron Piterman
yes it is much better (faster) , and you can use it on each binding (formal and informal parameters). Cheers, Ron John Coleman wrote: > D&J Gredler gmail.com> writes: > I used the label attribute to supply i.e. label="ognl:messages.getMessage...". > > Can I use messages: anywhere,and drop ognl,

4.1 exception page

2006-11-19 Thread Ron Piterman
Hi all, Is there any way I can disable the hide/show in the exception page and see the exception trace as it used to be in 4 without clicking my way through it ? Cheers, Ron - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re:

2006-11-16 Thread Ron Piterman
Sorry - my mistake, everything's fine... Ron Piterman wrote: Hi all, Are there any known problems /anything new to usign in 4.1 ? For me it doesn't seem to work - eventhough I have a properties file for my component, the messages are empty - This is strange since normally if

users@tapestry.apache.org

2006-11-16 Thread Ron Piterman
Hi all, Are there any known problems /anything new to usign in 4.1 ? For me it doesn't seem to work - eventhough I have a properties file for my component, the messages are empty - This is strange since normally if not found, tapestry would print the uppercase message key - very strange,

Re: Escaping quotes in OGNL expressions in Tapestry templates

2006-10-11 Thread Ron Piterman
have you tried: value="ognl:'Section: "' + section.name + '"'" ? Cheers, Ron Jim Steinberger wrote: > Hello, > > I ran into the situation where I needed to insert a double-quote in an OGNL > expression. I wanted to do: value="ognl:'Section: \"' + section.name + > '\"'", but the Tapestry pa

Re: Validation questions: components and messages

2006-10-10 Thread Ron Piterman
Yes - you can do much with the delegate :) BTW - consider using CSS for this instead of adding elements , it might be more elegant and easier to maintain... Cheers, Ron Reto Hotz wrote: > Hi, > > On 10/10/06, Ron Piterman <[EMAIL PROTECTED]> wrote: >> Dave Rathnow wrote: &

Re: Validation questions: components and messages

2006-10-10 Thread Ron Piterman
Dave Rathnow wrote: > I have written a component that contains text fields that need to be validated > when a page is submitted but I can't figure out how component validation > hooks into Tapestry's validation framework. I can access my validation > delegate > in my page component but how can I

Re: Accessing HiveMind Registry

2006-10-10 Thread Ron Piterman
One way would be to create a factory for instances of this class in hivemind, and inject any services you need to it. Another way would be to get the registry instance tapestry uses, which is stored as a context attribute. see the ApplicationServlet code. Cheers, Ron Edoardo Campagnano wrote: >

Re: checkboxes problem

2006-10-10 Thread Ron Piterman
Yes, I know why this happends: you have a bug, a mistake in your code. Cheers, Ron Andrés Nates wrote: > Hello > > > > I have the following problem > > > > I have a list of checkboxes, when i select a checkbox the page recharges > itself. But if i select the last of the checkboxes in the

Re: File System Browse Component

2006-10-09 Thread Ron Piterman
As far as I can remember, there was a tree component in tacos which did just that - try to download an old version - it should be in the demo application. Cheers, Ron Peter Dawn wrote: > guys, > > i am trying to implement this functionality where a user can browse > for a folder from within my w

Re: Form submitting problem

2006-08-24 Thread Ron Piterman
lidation on the form submit to ensure it is not double submitted? Ta, Tim. On Thursday 24 August 2006 14:21, Ron Piterman wrote: Use validation instead of a custom exception page, this will solve your problem and be more useable, since the user can correct the problem on the same page w

Re: Form submitting problem

2006-08-24 Thread Ron Piterman
uble submitted? Ta, Tim. On Thursday 24 August 2006 14:21, Ron Piterman wrote: Use validation instead of a custom exception page, this will solve your problem and be more useable, since the user can correct the problem on the same page where the error message apeared. Cheers, Ron Tim Sawyer

Re: Form submitting problem

2006-08-24 Thread Ron Piterman
ure it is not double submitted? Ta, Tim. On Thursday 24 August 2006 14:21, Ron Piterman wrote: Use validation instead of a custom exception page, this will solve your problem and be more useable, since the user can correct the problem on the same page where the error message apeared. Che

Re: Creating listener urls

2006-08-24 Thread Ron Piterman
Sure - so, what is that you are asking? how to generate an URL? In Tapestry, EngineService is responsible to generate URLs and respond to them. Implement your own service and let it check for a request parameter you add in your java script. You will however have to pass a basic url (generat

Re: How to be redirected from login form to BasePage?

2006-08-24 Thread Ron Piterman
its cycle.activate("Home"); Cheers,Ron CIJOML wrote: Hi, I wrote little application which now I want secure. So I developped login form, but I am unable to be redirected to BasePage after successfull login. When I call such page directly in DP.application, it renders: http://jakarta.apache

Re: Form submitting problem

2006-08-24 Thread Ron Piterman
Use validation instead of a custom exception page, this will solve your problem and be more useable, since the user can correct the problem on the same page where the error message apeared. Cheers, Ron Tim Sawyer wrote: hi, I have a tapestry page which displays a text entry field for each

Re: Redirect to page on F1 keypress

2006-08-24 Thread Ron Piterman
If each page has only one F1 page, or, say a limitted number of F1 - you implement a javascript listener and uses JS to redirect (I don't know the exact call) - The URL is passed to your .script file - you get it by using the relevant engine service's getLink method. I think they did exist in

Re: I want my HTML *that* way

2006-08-04 Thread Ron Piterman
train your designers to produce clean html - after all nowadays its not out of the cloudes.. Cheers, Ron Rui Pacheco wrote: Its not the first time that Tapestry's HTML parser throws an exception because a piece of HTML is not well formed. If I have a table that isn't closed properly, or a spa

Re: Problem with parameters of a custom component (Tapestry 4.01)

2006-08-04 Thread Ron Piterman
Brian Ron Piterman wrote: :) Tapestry uses a pool to store page instances. While rendering it is safe to use instance variables but you have to make sure they are reset, preferrably in either pageDetached or pageAttached events. If you don't reset them, information can be shared between many

Re: "Could not find a strategy instance for class RubricSelectionModel" when working with PropertySelection component

2006-08-03 Thread Ron Piterman
you probably serialize it in some way (usually by persisting it) but it is not serializeable. either make it serializeable or remove the persisting code. Cheers, Ron [EMAIL PROTECTED] wrote: Good day! I'm developing portlet using Tapestry portlet technology (4.0.2). I've created page with Pr

Re: Problem with parameters of a custom component (Tapestry 4.01)

2006-08-03 Thread Ron Piterman
r the component renders. When I use the updated code below the storeLocation is passed through to the component and getLocationOfStore() contains the location I passed in from the page. It does not like it when I use abstract getters and setters but I dont understand why. Thanks Brian Ron Piterman

Re: Tapestry / Spring / Hibernate / Tomcat strange error

2006-08-03 Thread Ron Piterman
I would check your urls: you probably try to access an engine service which does not exist. either through an url or when generating a link? check the url which generates this exception, specifically the service= parameter ( if using roude URLs ). If you are using fiendly URLs, try to see which

Re: Problem with parameters of a custom component (Tapestry 4.01)

2006-08-03 Thread Ron Piterman
Brian Doherty wrote: Hi, I am having problems binding a property on my page to a parameter in my component. The following does not work can you be more specific. "Does not work" is somehow general... I have a CategoryListComponent as follows On my CategoryList.java I have pub

Re: upgrading to 4.1 - question about concepts

2006-08-03 Thread Ron Piterman
che/tapestry/services/ResponseBuilder.html . I don't know if I can promise anything this extensive being done in one weekend but the more input I can get the better. (for day to day pondering's sake ) On 8/2/06, Ron Piterman <[EMAIL PROTECTED]> wrote: Hi, In an application I am

upgrading to 4.1 - question about concepts

2006-08-02 Thread Ron Piterman
Hi, In an application I am currently working on (tapestry 4.0) we use extensivley dojo widgets and a custom ajax render cycle. Usually the Ajax responses are rendered by a special renderer which wrapps components renders inside a kind of xml-rpc. This is parsed by java scripts and performs di

Re: Different JSESSIONID in Cookie and URL?

2006-07-27 Thread Ron Piterman
hello Christian - As far as I know the session is managed by tomcat ( or any other container ) - so maybe the tomcat list is a better place to ask... but since it is managed by the container, I would suggest that relying on a session id taken either from the url or from the cookie might cause

OT: hivemind help

2006-07-19 Thread Ron Piterman
hi - I try to pass a parameter to a serviceIMplementationFactory but get an exception from hivemind: Parameter parameters must not be null. here is the xml: and in another module: the

Re: sending a redirect

2006-07-07 Thread Ron Piterman
throw a RedirectException Cheers, Ron Dan Adams wrote: How do you send a redirect from an engine serivice? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ASO & Interceptor

2006-07-06 Thread Ron Piterman
The simple approach is to use the http://tapestry.apache.org/tapestry4/tapestry/hivedocs/service/tapestry.state.ApplicationStateManager.html service, either autowired or specifically set to your interceptor service. Another version which I use is create one hivemind service with getters for all

Re: Family Tree web app problem with image map using Tapestry 4..

2006-07-06 Thread Ron Piterman
I didn't read through your short "novel" - but scanned through it - I would advice you to use a DirectLink component instead of the DirectArea, and pass a custom ILinkRenderer as a renderer parameter - Cheers, Ron Alex Tian wrote: hi, everyone, I know it's gonna be a lenthy statement below,

Re: Family Tree web app problem with image map using Tapestry 4..

2006-07-06 Thread Ron Piterman
Alex Tian wrote: hi, everyone, I know it's gonna be a lenthy statement below, but I desperately need help... my task actually is to build a "family tree" web application, for simplicity, e.g. User enters his/her name and his relatives'names (e.g. his parents' names and children's names ) and sum

Re: Overriding Locale detection in T4

2006-06-28 Thread Ron Piterman
take a look at the wiki -> tapestry 4 -> howtos Cheers, Ron Firas A. wrote: Hello, The application I'm working on needs to be fully localized, which means correct display of language, currency, date and number formats. In my application specification I have the following setting: meta key="

Re: dojo question

2006-06-08 Thread Ron Piterman
**/* cheers, Ron Peter Dawn wrote: hi guys, sorry for asking an ant question. but i am trying to implement dojo and my ant file wouldnt include all my sub-folders. i have tried *.*, *. but to no luck. can you guys suggest something which will fix this problem. thanks.

[OT] hivemind: external xml entities in a jar?

2006-06-08 Thread Ron Piterman
Hi all, is it possible to use external xml entities in a hivemind.xml which reference to a resource in the classpath ? The hivemodule.xml is inside a jar (/META_INF/) and the extranal entity is in the same jar. Thanx, Ron

  1   2   >