Need help: in displaying text with html character entities and new line

2013-08-22 Thread Giridhar reddy
Hello, I have the input string which contains "price range<10-100>\n least price = 20" I need the output as: price range<10-100> least price=20 I tried jwcid=@InsertText. But, it is still printing the output in one line as "price range<10-100>\nleastprice=20" If I keep raw=true, I am not gettin

Re: [ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

2013-08-22 Thread Howard Lewis Ship
Terrific work as always! On Thu, Aug 22, 2013 at 4:43 PM, Kalle Korhonen wrote: > Federatedaccounts takes another leap forward by integrating with a new, > Scribe-based module, Pac4j by Jérôme Leleu < > https://github.com/leleuj/pac4j>. > See, the problem with Scribe, and Oauth in general, is th

[ANNOUNCEMENT] tynamo-federatedaccounts 0.4.3 released!

2013-08-22 Thread Kalle Korhonen
Federatedaccounts takes another leap forward by integrating with a new, Scribe-based module, Pac4j by Jérôme Leleu . See, the problem with Scribe, and Oauth in general, is that there's no standard way of getting any unique identifier with Oauth (unlike in OpenID). S

TransactionHandling

2013-08-22 Thread Martin Kersten
Hi there, I just wonder how Tapestry handles nested transactions. From the @CommitAfter annotation one learns that there is no such detection unless we are using a PersistenceContext. This seams to be unimpropriated. I want something like this (Similar to the Spring transactional annotation).

Re: How to implement simple error/exception handling

2013-08-22 Thread Martin Kersten
This is outside the scope of Tapestry (or at least as far as I am aware off). Take a look at this example: http://jumpstart.doublenegative.com.au/jumpstart/together/easycrud/persons If you hit the Delete on any row it opens a modal dialog asking you whether or not the item should be really delete

How to implement simple error/exception handling

2013-08-22 Thread nn kk
Hi, I read about exceptions and error handling in tapestry, but still can not find the best way, to send messages to front-end. I want to be able to send exception messages and error codes, as I can do it in jquary ajax success or error blocks. When I throw some custom exception I don't want to

Re: PageActivationContext issue

2013-08-22 Thread Lance Java
In your case, I think you will be able to fix it by. 1. Remove @PageActivationContext 2. Add onActivate(EventContext ec) 3. Add List onPassivate() On 22 Aug 2013 15:18, "Lance Java" wrote: > > I think I had issues trying to use an array / collection as an EventContext item. I think I had to reso

Re: PageActivationContext issue

2013-08-22 Thread Lance Java
I think I had issues trying to use an array / collection as an EventContext item. I think I had to resort to using a comma separated string from memory. On 22 Aug 2013 15:03, "nn kk" wrote: > Hi, > I have the following code: > class Page1 { > > @InjectPage > private Page2 page2; > ... > >

PageActivationContext issue

2013-08-22 Thread nn kk
Hi, I have the following code: class Page1 { @InjectPage private Page2 page2; ... Object onSuccessFrom...() { ... List catList = new ArrayList... catList.add(cat1); catList.add(cat2); page2.setCatList(catList); return page2; } } class Page2 { @PageActivatio

RE: Submitting id & value of a t:select component onChange

2013-08-22 Thread Lance Java
If you are generating a placeholder serverside and replacing it clientside, there's no need to use a request parameter. You can just use the event context. You only need a request parameter when appending to the URL in javascript rather than replacing a token. Note that if you have ValueEncoders

RE: Submitting id & value of a t:select component onChange

2013-08-22 Thread Ben Titmarsh
Thanks Lance, Here's another effort. I'm sure theres a better way to get the value into the request parameter than I've done here? This generates a request URL like this: /editcube:colourprofileoverridechanged/283021?newColourProfile=MONO_RED&t:ac=1 Page Class: public Object onColourProf