Re: Form field inputs automatically cleared when "success" reached!?

2010-11-15 Thread Kalle Korhonen
That's exactly the reason why I typically save and catch the errors in onValidateForm but commit only in onSuccess. Purists claim it's misuse of the validate event but in practice makes sense. Kalle On Mon, Nov 15, 2010 at 9:16 PM, Mihaela Pilon wrote: > Hi, > > I have a problem where my form f

Form field inputs automatically cleared when "success" reached!?

2010-11-15 Thread Mihaela Pilon
Hi, I have a problem where my form field inputs are always cleared after my "success" event handling. It's all fine when I can check my inputs prior to "success", such as inside "validateForm" handler, but sometimes there is no error in form, but is raised by service layer in form of exception, a

Re: wysiwig or markup input solutions

2010-11-15 Thread Paul Stanton
Yes that looks great? any plan for supporting CKEditor (which replaces FCKEditor)? On 15/11/2010 8:38 AM, Christian Riedel wrote: You mean something like FCKEditor? The new version 1.0.5 has been released today :-) http://tapestry.1045711.n5.nabble.com/ANNOUNCEMENT-EasyFCK-editor-1-0-5-release

Re: Grid & Back button

2010-11-15 Thread Taha Hafeez
Thanks regards Taha On Tue, Nov 16, 2010 at 7:41 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 15 Nov 2010 23:09:57 -0200, Taha Hafeez > wrote: > > Can i do that in case of a Grid or do I have to roll by own ?? Please >> elaborate >> > > Don't use @Persist in your pa

Re: Grid & Back button

2010-11-15 Thread Thiago H. de Paula Figueiredo
On Mon, 15 Nov 2010 23:09:57 -0200, Taha Hafeez wrote: Can i do that in case of a Grid or do I have to roll by own ?? Please elaborate Don't use @Persist in your pages to keep current page and sorting. Use the page activation context or query parameters for that. -- Thiago H. de Paula F

Re: Re: XML requests

2010-11-15 Thread Thiago H. de Paula Figueiredo
On Mon, 15 Nov 2010 14:53:46 -0200, nille hammer wrote: Hi niksami, Basically I need to receive XML as a parameter, for example as a String in onActivate() method. I would not recommend to use this approach. And if you do it although, beware of some special characters in the XML that mi

Re: XML requests

2010-11-15 Thread Thiago H. de Paula Figueiredo
On Mon, 15 Nov 2010 12:39:29 -0200, nille hammer wrote: Hello Niksa, In my application I need to receive XML requests, and then to send the response back to the client in XML format too. I tried to find some nice solution here, but with no success. I hope you can give me some short code e

Re: Grid & Back button

2010-11-15 Thread Taha Hafeez
Can i do that in case of a Grid or do I have to roll by own ?? Please elaborate regards Taha On Tue, Nov 16, 2010 at 6:30 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sat, 13 Nov 2010 12:12:45 -0200, Taha Hafeez > wrote: > > Hi >> > > Hi! > > When using Grid, if we sor

Re: Grid & Back button

2010-11-15 Thread Thiago H. de Paula Figueiredo
On Sat, 13 Nov 2010 12:12:45 -0200, Taha Hafeez wrote: Hi Hi! When using Grid, if we sort or navigate to different pages, the back button functionality is lost. This is because of @Persist we use on current page and sorting. Is it an intentional behavior or compulsive ? This is a resu

Re: tynamo tapestry-security help

2010-11-15 Thread Kalle Korhonen
Move to tapestry-security 0.2.1 and use the Shiro @RequiresAuthentication annotation instead. The *All annotations were removed since I implemented them in Shiro directly (one of the benefits of being a committer in both). We do have a couple of tests for the case and those are passing. There's a p

Re: tapestry-resteasy next release

2010-11-15 Thread Alejandro Scandroli
Hi Borut and other tapestry-resteasy users In a very lucky turn of events (at least for us) TAP5-1349 made it in to the 5.2.4 release that is being voted right now :P Expect a new release of tapestry-resteasy soon. Thanks to Igor for taking care of the issue so quickly! Alejandro. On Sun, Nov 14

Re: RE: contribute mystery

2010-11-15 Thread nille hammer
Hi Jens, just to make sure: > maybe I wasn't quite clear: on some startups my dispatcher is used (and than > is always used, which is what I want). On other startups (i.e. restarting > jetty/tomcat) the dispatcher is never used. Though log show, that it is > instantiated. But then it feels, as if

Re: tapestry-upload firefox bug

2010-11-15 Thread Robert Zeigler
mime-util works by a series of detectors. You can register any or all of the default detector types, or add your own. It comes with a "MagicMimeMimeDetector" (uses a unix "magic" file; comes bundled with its own for non-*nix systems), an "OpenDesktopMimeDetector" (again, comes bundled with it

Re: Re: Re: XML requests

2010-11-15 Thread nille hammer
Me again answering myself, I have just tried to call the following URL: http://localhost:8080/myapp/ I recieved an IllegalArgumentException. I have then tried to URL-encode the "<" and ">", same result. So you cannot use your approach with a GET-request. Although you might be happy with POST-r

Re: Re: XML requests

2010-11-15 Thread nille hammer
Hi niksami, > Basically I need to receive XML as a parameter, for > example as a String in onActivate() method. I would not recommend to use this approach. And if you do it although, beware of some special characters in the XML that might be interpreted by Tapestry. E.g. an XML containing a "/"

RE: contribute mystery

2010-11-15 Thread Jens Reufsteck
Thanks Fred, good point - just wanted to solve the other problem first. Regards Jens -- Jens Reufsteck Marketing & Online Director Staufenbiel Institut GmbH Events & Recruiting Solutions Wildunger Straße 6, 60487 Frankfurt am Main www.staufenbiel.de www.mba-master.de www.absolventenkongress.d

RE: contribute mystery

2010-11-15 Thread Jens Reufsteck
Thanks Kris, maybe I wasn't quite clear: on some startups my dispatcher is used (and than is always used, which is what I want). On other startups (i.e. restarting jetty/tomcat) the dispatcher is never used. Though log show, that it is instantiated. But then it feels, as if it wasn't included i

Re: XML requests

2010-11-15 Thread niksami
This will work for me. Basically I need to receive XML as a parameter, for example as a String in onActivate() method. So, I think this will do job for me: public TextStreamResponse onActivate(String xml) { //doing something with xml return new TextStreamResponse("text/xml", xml); }

Re: contribute mystery

2010-11-15 Thread Fred van Engen
We use before:ComponentEvent and before:PageRenderer and that works. The additional benefit is that event are also checked. In your case event code can be called without any authentication checks. I'm not sure why you would want to allow that. Regards, Fred. Op 15 nov 2010 om 09:32 heeft

Re: contribute mystery

2010-11-15 Thread Kristian Marinkovic
Hi Jens, the contribute methods are used for configuration... therefore there are only executed once on startup (... or on lazy load) once your dispatcher is in place only your dispatcher will be called. please re-read the tapestry-ioc documentation. g, kris Von:"Jens Reufsteck" An:

Re: XML requests

2010-11-15 Thread niksami
Thanks, I'll try this. -- View this message in context: http://tapestry.1045711.n5.nabble.com/XML-requests-tp3265672p3265787.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

Re: XML requests

2010-11-15 Thread Richard Hill
You don't specify where/how you want to receive XML requests from - is this server-to-server? If so this out of the realm of Tapestry, but there's plenty of java networking libs to help you do this. With respect to sending an xml document/page to a browser client, tapestry is not really designed

Re: Tapestry for mobile devices

2010-11-15 Thread badluck13
Hi, First of all, I'm gonna respond to this mail in design point of view. Mobile devices now have huge displays and they can display web pages as any computer. But why people build mobile versions of their web sites? Because of USABILITY. Most of web sites are not so good in usability when they

Re: XML requests

2010-11-15 Thread nille hammer
Hello Niksa, > In my application I need to receive XML requests, and then to send the > response back to the client in XML format too. I tried to find some nice > solution here, but with no success. I hope you can give me some short code > examples. As far as I understand this is not supported ou

XML requests

2010-11-15 Thread niksami
Hello everyone. In my application I need to receive XML requests, and then to send the response back to the client in XML format too. I tried to find some nice solution here, but with no success. I hope you can give me some short code examples. Best regards, Niksa -- View this message in contex

Re: Devoxx 2010

2010-11-15 Thread Katia Aresti
Hi, For the place, we can meet at lunch time on the front door stairs. (in the entry) We can meet there before or after catching a sandwich :) (13:00, 13:15, 13:30) As you wish Katia 2010/11/14 Igor Drobiazko > I guess we can meet on Wednesday during the lunch (between 13:00 and > 14:00). > >

Re: Tapx-Datefield

2010-11-15 Thread mmainar
Hi François, thanks a lot for your help, I declared the locale and everything is fine now. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapx-Datefield-tp3262511p3265483.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: tapestry-upload firefox bug

2010-11-15 Thread P . Stavrinides
Hi Robert, > I recently incorporated mime-util > (http://sourceforge.net/projects/mime-util/) into a project of mine that > needed reliable mime detection. > It works pretty well and is easily extensible especially for text types. Thanks! I will take a look at mime-util to understand exactly h

contribute mystery

2010-11-15 Thread Jens Reufsteck
Hi, I’m having some mystery going on when contributing a dispatcher. The dispatcher is always instantiated (according to the logs), but it’s used only sometimes. In some cases, when I start jetty (or tomcat), the dispatcher is used and then consequently it’s always used. But after a restart it’