Re: [T5.2] Deprecated public API of RenderSupport removed without replacements?

2010-03-22 Thread Otho
ts with a deprecated method, but such is life). > > On Mon, Mar 22, 2010 at 3:58 AM, Otho wrote: > > Hi all! > > > > I migrated a project to Spring 3. To make it work with Tapestry I had to > > upgrade to 5.2-Snapshot. > > > > Now I use RenderSupport.addSc

[T5.2] Deprecated public API of RenderSupport removed without replacements?

2010-03-22 Thread Otho
deprecated API only at the next major version? Regards, Otho

Re: tapestry.formos.com down. any other maven repo for 5.2?

2010-03-21 Thread Otho
> On Sun, Mar 21, 2010 at 20:09, Otho wrote: > > Yes. I can't even build it from source at the moment, since it depends on > > artefacts which are tried to be pulled from formos. > > > > 2010/3/21 Andreas Andreou > > > >> btw, http://repository.apa

Re: tapestry.formos.com down. any other maven repo for 5.2?

2010-03-21 Thread Otho
, Andreas Andreou wrote: > > Yea, ppl should just use the apache repository: > > > > http://repository.apache.org/ > > http://repository.apache.org/content/groups/snapshots-group > > > > On Sun, Mar 21, 2010 at 15:32, Otho wrote: > >> tapestry.formos.co

tapestry.formos.com down. any other maven repo for 5.2?

2010-03-21 Thread Otho
tapestry.formos.com seems to be down. Is there any other snapshot repo for tapestry? If not. Wouldn't it be suiting to publish to the apache snapshot repository, too? Regards, Otho

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Otho
+1 for code The Tap 5 codebase lacks aome givens in nowadays development. Getting a simple app up and running with basic user management and security shouldn't take longer than 10 minutes and also flow support out of the box is mandatory. Other than that the online docs and tutorials should be co

Re: T5:how to inject slf4j service?

2009-09-24 Thread Otho
When you just use the maven archetype for starting a project everything works right out of the box. 2009/9/24 cleverpig > it's exactly,you should have a Logger service when tapestry startup.. > > but if i comment this function in AppModule,i would miss Logger service: > public Logger buildLogger

Re: Accessing page context from a component

2009-09-14 Thread Otho
I wouldn't couple a component so tightly to a specific page. If you need to pass certain bits of information you can also use component parameters from within the page. 2009/9/14 chakra > > thanks for the responses. > Is there any plan in future releases of tapestry, to add support for > onActiv

Re: Submitting a Grid causes IndexOutOfBoundsException

2009-08-25 Thread Otho
CSS is one possibility. Chenillekit button component could work also. I ididn't try yet. 2009/8/25 Stephan Windmüller > Otho wrote: > > >> But every time I select a button in this form (even when it is > >> outside the grid) I get an IndexOutOfBoundsException.

Re: Submitting a Grid causes IndexOutOfBoundsException

2009-08-25 Thread Otho
Use a button with an ActionLink/EventLink instead and pass the current item (or its id for example) as a parameter. 2009/8/25 Stephan Windmüller > Hello! > > We are using a Grid which contains a submit button in each row ("select > this"). Of course this only works when I put the Grid in a form

Re: Intermittent Stax Exception

2009-08-21 Thread Otho
Sounds like it. But then again it seems to only occur on a certain page. Mind posting the code? Is there a large object tree pulled in? Or do you have a SessionState object in your page which grows and gets referenced too long? 2009/8/19 martijn.list > Could the NPE be caused by an out-of-memo

Re: [T5.1] Serialization and IoC?

2009-08-21 Thread Otho
Actually I would persist the cart to the database anyways for statistics reasons, like to see how many baskets and with which content were abandoned, what were the exit pages, how many were taken up later again and so on. If you save them along with a cookie value you can reconstruct them at any po

Re: Developing a Shopping Cart Component (T5.0.1.5)

2009-08-21 Thread Otho
That would be one of the perfect fits for a @SessionState object. @SessionState(create=true) private ShoppingCart shoppingCart; ... You can put all logic needed into this class (like addItem(Item it, int count) and just display it with a ShoppingCartView component. For example with a simple Para

Re: Organisation of Tapestry documentation

2009-08-20 Thread Otho
Yeah, it would be nice to be at least able to read it already and comment on it. Would save you probably a ton of work. 2009/8/20 Ulrich Stärk > Is the wiki freely accessible or are you doing this internally? > > On 16.08.2009 10:10 schrieb Howard Lewis Ship: > > Trust me, documentation is a t

Re: Upload component in onValidate

2009-08-14 Thread Otho
>From skimming the sources I would guess that you need to provide your own FieldValidator as a component parameter to 2009/8/14 Stephan Windmüller > Hello! > > We are using the upload component of tapestry and want to validate the > content type during the upload. To accomplish this we wrote

Re: Tapestry 5.1 running in Google App Engine (GAE)

2009-08-13 Thread Otho
ment server. Apparently this error doesn't > occur (or at least isn't manifesting this way) on the actual appserver > production engine. I have no clue where this is at, but if there isn't a > bug, someone should file it on the appserver issues page. > > cheers, > Christian

Re: Tapestry 5.1 running in Google App Engine (GAE)

2009-08-12 Thread Otho
Out of the box it throws the same exception. Caused by: java.lang.ClassNotFoundException: caught an exception while obtaining a class file for org.apache.tapestry5.corelib.components.Loop$1 at javassist.Loader.findClass(Loader.java:359) at org.apache.tapestry5.internal.services.ComponentInstantiat

Re: Link encoded twice

2009-08-06 Thread Otho
You read that? http://wiki.apache.org/tapestry/Tapestry5LinkingToNonTapestryURIs 2009/8/6 Sebastian Hennebrueder > Hello, > > I supect if the Link doesn't get encoded twice. > > Once in LinkImp > public String toRedirectURI() > { > return appendAnchor(response.encodeRedirectURL(buildURI

Re: [Announce] ioko-tapestry-commons-1.4.0

2009-08-06 Thread Otho
There are some typos on http://tapestry.formos.com/projects/ioko-tapestry-commons/ . In all dependencies the starting slash of the closing is missing. 2009/8/5 Inge Solvoll > Excellent. I love the convenient javascript and jquery jars! > > On Tue, Aug 4, 2009 at 3:04 PM, Ben Gidley wrote: > >

Re: Is AjaxFormLoop example working for you?

2009-07-18 Thread Otho
oops forgot ff3.0 on latest ubuntu. 2009/7/18 Otho > Both work. When I turn cookies off with both open in tabs 1st fails > silently (does nothing) 2nd throws up an error. after reloading both pages > with cookies still off both work again. > >

Re: Is AjaxFormLoop example working for you?

2009-07-18 Thread Otho
Both work. When I turn cookies off with both open in tabs 1st fails silently (does nothing) 2nd throws up an error. after reloading both pages with cookies still off both work again.

Re: T5 Page field persistance and multithread problems

2009-07-16 Thread Otho
Wizard SSOs are a typical example of the temporary state I mentioned. No one else should be able to write to it and thus you don't need guards against concurrent writes. Especially not, since you validate the business objects before comitting them. But still it could be a neat idea in some circumst

Re: T5 Page field persistance and multithread problems

2009-07-15 Thread Otho
2009/7/15 > Other than a flag that the framework will have to manage, I really don't > see it being such a big deal... maybe I am naive and missing something, but > do you think it is better for Tapestry users to manage this? having Atomic > references and Synchronized blocks all over our code, i

Re: T5 Page field persistance and multithread problems

2009-07-14 Thread Otho
2009/7/14 Howard Lewis Ship > I am loathe to have the framework manage this automatically because it > causes its own problems. > > For example, it is reasonable to process multiple Ajax requests in > parallel if they only read data. Exactly. Concurrent write access to data should be handled wh

Re: t5: moving to 5.1.0.4 and can't find @Inject

2009-07-14 Thread Otho
Why don't you update to the official final version 5.1.0.5? @Inject is in org.apache.tapestry5.ioc.annotations definitely but in the maven artifact tapestry5-annotations which should be automatically included from tapestry5-core 2009/7/14 Newham, Cameron > I think I'm going mad... > > > > I'm

Re: T5 Page field persistance and multithread problems

2009-07-14 Thread Otho
Thatswhy you normally use a transactional storage for entity beans. Your case is working on the weaknesses of the http protocol which is inherently stateless. 2009/7/14 kristjankelt > > Hi, > > > Peter Stavrinides wrote: > > > > Kristjan, as Nille has explained to you that is simply not the case

Re: T5 : Dependant dropdown boxes

2009-07-12 Thread Otho
Shouldn't that be possible with chenillekits' onEvent mixin and the onchange event? 2009/7/12 Geoff Callender > Please add your vote to https://issues.apache.org/jira/browse/TAP5-138 . > > Cheers, > > Geoff > > > On 11/07/2009, at 5:48 AM, newtonik wrote: > > >> I am also about to try to impleme

T5 Override of HibernateSessionSource

2009-06-21 Thread Otho
ected. @EagerLoad public MyAppInitializer buildMyAppInitializer() { return new MyAppInitializerImpl(context); } Could someone hint me as to how get the contribution working? Regards, Otho

Re: T5 tapestry spring

2009-06-17 Thread Otho
I had a similar problem. Maybe this thread helps you: http://www.nabble.com/T-5.1-How-to-inject-Spring-beans-by-name--td22934788.html 2009/6/17 haipeng du > I try to inject spring beans to page class with > @Inject > @Id("baseDAO") > private BaseDAO baseDAO > > It still gave me that "Spring con

Re: Two Menu Components

2009-06-12 Thread Otho
and as I said if you want Ajax, look at donf yangs code. 2009/6/12 Eldred Mullany > Hi Otho > > Thank you for the feedback, I am trying this example, but notice that I > get a transformation exception if I inject my component as per your > example. Complaining about it not havi

Re: Two Menu Components

2009-06-11 Thread Otho
Create an eventhandler in your MainMenu component which fires on select and gives the selected menuitem as context. For example class MainMenu @Inject private SideMenu sideMenu; Object onActionFromYourMenu(String context) { sideMenu.setSelectedMainMenuItem(context); return null; } class

Re: Problems with Tapestry, Spring & jax-ws integration

2009-06-11 Thread Otho
Is there any obligation to use hibernate 3.2.6 instead of 3.3.1? I'm not 100% sure, but the problem might be in annotations 3.4 being not entirely compatible with hibernate core 3.2. In the stacktrace you posted, this: org.hibernate.validator.event.ValidateEventListener cannot be cast to org.hiber

Re: Problems with Tapestry, Spring & jax-ws integration

2009-06-11 Thread Otho
I use annotations 3.4.0, core 3.3.1 and validator 3.1.0 together with envers 3.4.0-SNAPSHOT without any problems. But I don't use tapestry-hibernate but have hibernate, datasources and data-access configured with spring, including the listeners for envers. So I would suspect the problem is somewher

Re: Obtain the data inside RequestGlobals question

2009-06-09 Thread Otho
I usually use Spring Security. No need to maintain a sessionstate object myself then.:) But if Neo Anderson really insists of writing his own auth system it could be handy indeed. 2009/6/9 Thiago H. de Paula Figueiredo > On Tue, Jun 9, 2009 at 8:51 AM, Otho wrote: > > Or did I get yo

Re: Obtain the data inside RequestGlobals question

2009-06-09 Thread Otho
That seems a very complicated way to do it. public interface AuthService() { public boolean authenticate(User user); } publlic class AuthServiceImpl() { public boolean authenticate (User user) { // authenticate and return true on success } } In your appmodule binder.bind(AuthService.

Re: blog, wiki, chat, alert, poll components

2009-06-09 Thread Otho
2009/6/9 Onno Scheffers > > I'm currently cleaning up the stylesheets throughout our application and > replacing whatever I can with styles from jQuery UI CSS Framework ( > http://jqueryui.com/docs/Theming/API). This means it gets much easier for > non-techies to create custom skins with the Them

Re: blog, wiki, chat, alert, poll components

2009-06-09 Thread Otho
> > Why can't we already do that with a Layout component, CSS and the > Delegate component? Skinning means you drop in a skin to some folder and everything changes automatically. With the layout component you have to manually adjust it. Core support means, that there is a core mechanism to find s

Re: blog, wiki, chat, alert, poll components

2009-06-08 Thread Otho
t; users, > > to contribute your code to the community. > > please feel free to send us (chenillekit project team) your components, > so we can implement them into the library. > > with regards > Sven Homburg > Founder of the Chenille Kit Project > http://www.chenillekit.org &

Re: blog, wiki, chat, alert, poll components

2009-06-08 Thread Otho
It's the lack of well documented high level components and plugins which slows Tapestries way to inevitable world dominiation down a bit... 2009/6/8 Sven Homburg > Its seem to me, that you are looking for a whole blog/wiki/chat module. > If so, i think you must code by yourself and much b

Re: T5: Any component

2009-06-06 Thread Otho
http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/mixins/DiscardBody.html 2009/6/6 Angelo Chen > > Hi, > > So often that we commented something from the tml file, in the end it got > rendered, which might contain some sensitive info. I'm looking for some > com

Re: t5 and fckeditor component

2009-06-05 Thread Otho
This is outdated I would assume. Try the chenillekit editor, which is also based on fckeditor. 2009/6/5 spaway > Dear all, > > I am trying to test out the use of FCKEditor with tapestry 5 ( > http://code.google.com/p/tapestry5-fckeditor/) - the best guide I've seen > is > do download tapestry5-

Re: T 5.1 How to inject Spring beans by name?

2009-06-02 Thread Otho
(name = "mailQueue") private Queue mailQueue = null; @Autowired @Resource(name = "feedQueue") private Queue feedQueue = null; Maybe that could be a way for Tapestry 5.2 also? Regards, Otho 2009/5/31 Jonathan Barker > Otho, > > Just in case you are

Re: [Tapestry Central] Last call: Tapestry Webinar (Thu May 21)

2009-05-23 Thread Otho
Since I couldn't attend... Is there a downloadable or streamed video somewhere? 2009/5/20 Howard Lewis Ship > The links were stripped out of the mail, try reading the blog entry > directly: > > > http://tapestryjava.blogspot.com/2009/05/last-call-tapestry-webinar-thu-may-21.html > > > On Wed, Ma

Re: T 5.1 How to inject Spring beans by name?

2009-05-23 Thread Otho
pling... it is VERY unlikely that you change the DI container or the bean id's in any non-trivial application. 2009/5/24 moonlee > > Hi, Otho. > Do you have some solutions for then problem. > I get the exceptions now, and I don't want to use the ApplicationContext >

Re: t5: printing?

2009-05-20 Thread Otho
The flying saucer is quite neat. https://xhtmlrenderer.dev.java.net/ Under the hood it uses iText, but is a lot easier to setup and use than itext directly or jasper reports. I use a freemarker html template styled with css for the layout and databinding and xhtmlrenderer does the rest. You can ju

Re: injecting t5 services into spring beans

2009-05-16 Thread Otho
oops, sorry. Saw just now that it is commented out. My bad. 2009/5/16 Otho > You use the 5.0 legacy mode. It is not possible to inject services into > beans there. > > Remove the following entry or set it to false to enable service injection: > > > > > > > 20

Re: injecting t5 services into spring beans

2009-05-16 Thread Otho
You use the 5.0 legacy mode. It is not possible to inject services into beans there. Remove the following entry or set it to false to enable service injection: 2009/5/15 Andrea Chiumenti > I'm trying to integrate T5 with jax-ws-commons > (https://jax-ws-commons.dev.java.net/spring/). > > m

Re: Tapestry 5.1 and multivalued parameters

2009-05-16 Thread Otho
You can find the answer here: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/gridwithdeletecolumn1 2009/5/16 R. Duval > > TFolks, > > I'm trying to use a form with multivalued parameters in tapestry but I'm > not > sure if it supports this kind of feature or how it does.

Re: Encoding with exceptions

2009-05-08 Thread Otho
Is html input mandatory? Id not, how about using bbcode or some wiki markup language? 2009/5/7 Christian Edward Gruber > Yeah - I don't, at least not yet. I probably will use such an editor > later, but I need a protected output system so I'm not using > since that's quite dangerous when writi

Re: Problem using BeanEditForm: empty form

2009-05-07 Thread Otho
If the read only is by design you could also use BeanDisplay component. 2009/5/7 Thiago H. de Paula Figueiredo > On Thu, May 7, 2009 at 2:40 AM, Anton Marchenkov wrote: > > Hi! > > Hi! > > > My TariffData.java interface looks as follows: > > > > public interface TariffData { > > > >Integer

Re: Problem using BeanEditForm with a POJO

2009-05-06 Thread Otho
here: http://tapestry.formos.com/nightly/tapestry5/tapestry-spring/ 2009/5/6 mraible > > With 5.0.x, I was able to solve this by adding an @Service("beanName") > annotation. Will this not work in 5.1? > > > Otho wrote: > > > > Nice :) > > > > But I would sugges

Re: Problem using BeanEditForm with a POJO

2009-05-06 Thread Otho
e you don't use ComponentResources anymore to create pagelinks, but PageRenderLinkSource . Otherwise the transition is very smooth and the additional features in Tapestry 5.1 are well worth the small effort. 2009/5/6 mraible > > That worked - thanks! > > Matt > > > Otho wrot

Re: Problem using BeanEditForm with a POJO

2009-05-04 Thread Otho
hen you got the time. Regards, Otho 2009/5/4 mraible > > Should be fixed now. Sorry about that. > > Matt > > > Robert Zeigler wrote: > > > > Tried dl'ing and running and received t

Re: Problem using BeanEditForm with a POJO

2009-05-03 Thread Otho
The error seems to be in your template. [INFO] [talledLocalContainer] org.apache.tapestry5.ioc.internal.util.TapestryException: Failure reading parameter 'value' of component Login:outputraw: Could not convert 'type' into a component parameter binding: java.lang.NoClassDefFoundError: org/appfuse/w

Re: Solving the T5 Documentation Dilemma

2009-05-01 Thread Otho
2009/5/1 Alex Kotchnev > -1 on the forum. nabble, markmail and others do an excellent job at > providing a forum interface to a mailing list. I would really contend the "excellent". It is crude and not really useably imo. The main point for a forum would be exactly your second point: > The co

Re: Solving the T5 Documentation Dilemma

2009-04-30 Thread Otho
I would suggest splitting the documentation. There should be the reference documentation by the creators/commiters of the project, whis is organized like a book covering all the different aspects of tapestry 5 in a reference manner eg like spring or hibernate docs. These are tied to the release ve

Re: T5: What is NOT beautiful about Tapestry?

2009-04-30 Thread Otho
inally, it's great that T5 is so well decomposed into small >>> interfaces , so that you can override anything you want. However, too >>> many small classes/interfaces + a bunch of dependencies on each other >>> (which are really easy to do when IoC can magically inje

Re: T5: What is NOT beautiful about Tapestry?

2009-04-30 Thread Otho
Some interesting points here. 2009/4/30 kranga > 1) Documentation: It is one thing to remove dependencies on framework > interfaces but quite another to leave the developer hanging with no > documentation. Programming by convention is programming in the dark if the > convention is not known. Y

Re: Web framework evaluation - What is beautiful in Tapestry?

2009-04-27 Thread Otho
s more "pure". The "model 1" > and "model 2" MVC that such systems as Struts implement are actually > "page-at-a-time" and therefore are much less flexible. > > Christian. > > On 26-Apr-09, at 11:53 , Otho wrote: > > Another great point is

Re: Web framework evaluation - What is beautiful in Tapestry?

2009-04-26 Thread Otho
Also Tapestry is very lenient in the approaches to problems you can take. You never feel artificially confined. Another great point is the component orientation which makes for a much more natural flow of coding compared to pure MVC. Though on the surface it is also page oriented, you automatically

Re: Error while launching Login page

2009-04-22 Thread Otho
You just set up your security context as usual with spring. Define the beans you need for userDetailsService (or other authenticationProvider), saltSource, encoder, rememberMe etc. and fire up the spring security namespace config. This is described in great detail in the Spring security docs as wel

Re: Error while launching Login page

2009-04-22 Thread Otho
It is also straightforward to configure Spring Secuity as usual (aka in Spring config), if you should need features which are not yet in the spring security module or should use spring data access abstractions anyways. 2009/4/21 Borut Bolčina > Hi, > > did you have a look at > http://www.localh

Re: relationship between the entities (database tables) in tapestry 5

2009-04-21 Thread Otho
This is hibernate/jpa specific and has nothing to do with Tapestry. So yes, it should work if it did before. 2009/4/21 kk4Nabble > > Hi all, > > If we wanted to have one to one relationship to other entity, in tapestry > 4 > we used to do in following way. > > @OneToOne(cascade = CascadeType.RE

Re: dupluication of ActionLinks in pages

2009-04-20 Thread Otho
You can look at how that is done in loop and grid components where you can have multiple links bound to the same event handler, normally with a context and do the same in your page/component. 2009/4/20 Andy Pahne > > Yes, that would work. > > I'd prefer if ActionLink would take a listener parame

Re: Clarifiacations about Tapestry 5

2009-04-19 Thread Otho
Look at the tapestry nightly docs. It's mvn archetype:generate -DarchetypeCatalog= http://tapestry.formos.com/maven-repository If you want to use another version of tapestry you just have to change the appropriate property in the pom.xml. But for learning the nightly works just fine. 2009/4/19

Re: [REQUEST] Live T5 web sites, quotes, marketting

2009-04-18 Thread Otho
It's very similar for me, but on a smaller scale. I developed a couple of internal apps in T5, mostly integration with legacy stuff and also an app which for me replaces the most annoying parts of the horrid interface of the webshop-software in use. Since I am lazy I looked into the scripting frame

Re: Java support added to Google AppEngine

2009-04-17 Thread Otho
AM, Otho wrote: > > In how far shoult GAE be a showstopper for anything? It is neither the > > promised land, nor some gift from the gods. I would rather find it a > > showstopper, if shady compromises were made just to cater to a somewhat > > castrated platform which is actua

Re: Java support added to Google AppEngine

2009-04-17 Thread Otho
In how far shoult GAE be a showstopper for anything? It is neither the promised land, nor some gift from the gods. I would rather find it a showstopper, if shady compromises were made just to cater to a somewhat castrated platform which is actually only beneficial, if you should happen to have the

T5 - Minor: Tapestry doesn't recognize is style getters in Domain Objects.

2009-04-14 Thread Otho
Just a minor thing I stumbled over. When I have a property like this with an automatically created getter in a domain object: private Boolean enabled; public Boolean isEnabled() { ... } Tapestry says: Render queue error in BeginRender[persons/PersonDetails:enabled]: Failure reading parameter 'v

Re: tapestry5 on google appengine exception

2009-04-11 Thread Otho
I didn't get my activation email yet. But is it really so, that you can't just upload a fully built war? 2009/4/11 ஸ்ரீராம் கீர்த்தி > Also since GAE doesn't use something like maven to build/manage, I have to > manually collect all necessary jar files and add it to the classpath > (/war/WEB-INF

T 5.1 How to inject Spring beans by name?

2009-04-07 Thread Otho
Since Spring beans are not exposed anymore as services I get exceptions like Error obtaining injected value for field org.example.user.Login.dao: Spring context contains 2 beans assignable to type org.example.dao.Dao: dao, daoImpl. I couldn't find anything in the docs about injecting by name. An

Re: Tapestry 5.1 on top of GORM Hibernate Session bound to thread

2009-04-06 Thread Otho
You use transactional support like: User.withTransaction{ user.save() } What I find much more annoying is that the Gorm events don't work. 2009/4/6 ice96 > > Hello, > > I'm experimenting with T5.1 and GORM. At the moment I'm trying to save > models into the database. Models without associat

[T5] Gotcha when working with Groovy and T5

2009-04-02 Thread Otho
Just thought that might interest some people. I stumbled over a bug in Groovy's handling of annotations while translating some components from Java. It is known and already filed here: http://jira.codehaus.org/browse/GROOVY-3278 You can't use static constant variables in annotations, so @Paramet

Re: Tapestry 5 on top of GORM with Maven

2009-04-02 Thread Otho
Ahhh, my bad. I am so used to create new classes via the IDE that I didn't think of including the package directive in the displayed code. But nice it works for you now. Regards, Otho 2009/4/1 emilis > > Thank you a lot! > I'm shame. My misstake was: > > import

Re: Tapestry 5 on top of GORM with Maven

2009-04-01 Thread Otho
I changed the dependencies accordingly. Also I attach a zip of the source files for this project on the blog in a few minutes. If you want you can just download it there and compare to what you have. Regards, Otho 2009/4/1 emilis > > | don't thin so, becouse TestBean.groovy

Re: Tapestry 5 on top of GORM with Maven

2009-04-01 Thread Otho
It seems that the import of TestBean in the TestPage class specifies a wrong package. Which package did you specify when generating the archetype? 2009/4/1 emilis > > Hello, > I done all steps by this blog: > > blog url > > > And have error on gorm stubs compilation: > > > [INFO] [groovy:gener

[T5] Overriding the BeanBlockSource for a specific component only.

2009-03-31 Thread Otho
is done as in default but the actual BeanEditBlock is taken from a page specified by the component. Any ideas on how to accomplish that? Regards, Otho

Re: Good Cheap Java Web Hosting Solutions

2009-03-29 Thread Otho
dedicated server, compared to linode's > $19 for a VPS, I'd go former, honestly speaking, I don't have any problem > with linode's vps so far, any good experience with server4you? the only > reason for me not to trying out server4you.com's super server L might be, &g

Re: Good Cheap Java Web Hosting Solutions

2009-03-28 Thread Otho
>> Hi Otho, >> >> What company are you talking about? >> >> And are there also companies located in Europe? >> > > for example: > http://www.hetzner.de/hosting/produktmatrix/rootserver-produktmatrix/ > > > --

Re: integrating T5 a login form with Spring Security?

2009-03-28 Thread Otho
urse it must be on the HTTPS. > > The server-side redirect is the only way, as response.sendRedirect can > not be done with POST, only GET. > > I am beginning to regret my decision to use spring security...but it > is too late in the project. > > Any other ideas? Anyone? >

Re: integrating T5 a login form with Spring Security?

2009-03-28 Thread Otho
My old solution which worked fine with the little glitch I described in my last post. The problem might be in the session.invalidate(); @Inject private Request request; @Inject private Response response; @Property private String username; @Property private String

Re: Good Cheap Java Web Hosting Solutions

2009-03-28 Thread Otho
The price difference between virtualized and full servers isn't that big anymore. I run a dual core opteron with 3 gigs or ram and 2 mirrored 250gig hds for 59 Euros a month. For the same price you get now (my contract is almost a year old) a quadcore opteron with 4 gig ram and 2 mirrored 500gig hd

Re: integrating T5 a login form with Spring Security?

2009-03-27 Thread Otho
I used the form login but had tha problem that the redirect done by spring security didn't make all components on the page refresh, so that a logged in user still had the login link in the page header instead of the logout link until he refreshed the page or chose another link. I found it easier i

Re: Component with a persist attribute inside a loop

2009-03-27 Thread Otho
You really don't need to @Persist anything here. Joachim was right with the context parameter. If you change your component class and template along the following lines it works fine: Component class: public class Test { @Parameter @Property private String usage; @Property pr

Re: Component with a persist attribute inside a loop

2009-03-26 Thread Otho
a) You don't need to copy the value from the parameter to the property. b) There is no need to persist it. @Parameter @Property private String usage; ${usage} 2009/3/26 ahingsaka samsenesena > Hi, > > I'm trying to use my own component inside a loop and I have a problem > when there i

Re: [T 5.1] Problem with obligatory locale-aware number formatting

2009-03-25 Thread Otho
eral solution catering to my laziness, but maybe these locale specifc problems when integrating other frameworks, in this case Dojo, should be kept in mind for future reference. Regards, Otho 2009/3/24 Howard Lewis Ship > Make the getter and setter convert to/from String instead of double

[T 5.1] Problem with obligatory locale-aware number formatting

2009-03-24 Thread Otho
ific translation, so I can override standard datatypes' translation only in the cases I want without having to write (potentially) a bunch of custom translators. Or did I overlook some simple workaround? Regards, Otho

Re: New to Tapestry- Lots of questions sorry!

2009-03-20 Thread Otho
Hi Amit, 1) For exmple: whatever 2) You can use whatever you want as long as you manage to pass the data to tapestry and back. Look at the wiki http://wiki.apache.org/tapestry/Tapestry5HowTos for examples about GWT for example. 3) Tapestry is component oriented, whi

Re: jetty and intellij

2009-03-14 Thread Otho
Just make a second run config with only "compile" as maven goal. 2009/3/13 Luther Baker > Hey Howard, > > > I know I must be missing a setting in IntelliJ - thoughts? > > Who's complaining? My original post asked for thoughts ... > > The majority of my second post was was in brackets. Don't tak

Re: [T5] Tapestry on GORM. It works!

2009-03-09 Thread Otho
have been a real PITA. My main contributions are only the pointing out that you need to use tapestry-spring and the integration of the tapestry source package into the plugin config. Just setting the credits straight. Otho 2009/3/9 Howard Lewis Ship > Looks very cool; seems like a tapestry-g

Re: Archetype Error

2009-03-08 Thread Otho
tapestry-spring-security and later upgrades can then be done easily when using the property placeholder for the version. Regards, Otho 2009/3/8 Richard Clark > If I understand correctly, that archetypes generates a project with > the 5.1 alpha codebase. That could create problems if some o

Re: Archetype Error

2009-03-08 Thread Otho
You forgot to specify the archetype repository. The actual commandline is: mvn archetype:generate -DarchetypeCatalog= http://tapestry.formos.com/maven-repository This is unfortunately still wrong in the stable docs, but fixed in the nightly ones. 2009/3/8 Richard Clark > Actually, the command

Re: T5: Critial security of t:formdata

2009-03-07 Thread Otho
If you revert to the official jar, how is your ComponentAction still there? And I don't actually understand, what the possible attack vector would be.

Re: Any T5's tree component hint?

2009-03-04 Thread Otho
: Date: Wed, 4 Mar 2009 15:38:56 +0100 Message-ID: <6347384b0903040638l2aa98a92kb8220f45b6219...@mail.gmail.com> Subject: Re: Any T5's tree component hint? From: Otho To: Tapestry users Content-Type: multipart/alternative; boundary=0016e6465284ef837b04644c029a --0016e6465284ef837b04644c0

Re: T5: hiding grid heading

2009-02-24 Thread Otho
.id.t-first {display: none} maybe? 2009/2/25 Angelo Chen > > Hi, > > is it possible to hide the heading from grid? this do not work: > .id.t-first { width:140px; height:0px} > thanks > -- > View this message in context: > http://www.nabble.com/T5%3A-hiding-grid-heading-tp22196708p22196708.html >

Re: [OT] By boss decided

2009-02-20 Thread Otho
Now it would be interesting to know, which scope and size your project has. 2009/2/19 Borut Bolčina > Today the official winner was announced. The corporate mind decided we will > use PHP Zend. The deciding factor was > http://www.zend.com/en/products/platform/customers > > Nonetheless, I hope

Re: [OT] By boss decided

2009-02-17 Thread Otho
Yup, no websites in java. Googlemail doesn't count. And german Telekom and Postbank are totally niche companies. :) 2009/2/18 Daniel Honig > Ok...very late for meHorrible post! > > But I do have some real points... let me bullet point > > > - dynamic language frameworks offer great but oft

Re: [T5.0.18] Bug? : Null property problem with the custom component inside a grid

2009-02-15 Thread Otho
images in the filesystem instead of the database and store only the filename in the db from where you can construct a path. But I think that isn't compatible with your requirements? Otho 2009/2/14 Iren Tuna > > Hi, > > @Persist is already there on "books". Anyway,

Re: [T5.0.18] Bug? : Null property problem with the custom component inside a grid

2009-02-14 Thread Otho
Maybe some problem in the setup of the grid page? Like forgetting the @Persist on the books list? Otho

Re: [T5] ck/TabSet inside a form.

2009-02-12 Thread Otho
Thanks for the tip. I planned to look at equanda a little later anyways, since I'll very probably need the keyboard navigation features. So I might as well do it now. Regards, Otho 2009/2/13 > Hi Otho, > > This is a limitation of the tapestry ajax stuff. A block should eithe

  1   2   >