handleRequestException

2013-02-10 Thread TG
While saving a form, we got the following error -

Feb 10, 2013 11:26:01 PM
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler
handleRequestException
SEVERE: Processing of request failed with uncaught exception: Sanity check -
neither a stream response nor a redirect response was generated for this
action request.
java.lang.IllegalStateException: Sanity check - neither a stream response
nor a redirect response was generated for this action request.
at
org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:63)
at $ComponentEventRequestHandler_89a69b60a12.handle(Unknown Source)
at
org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
at $ComponentEventRequestHandler_89a69b60a12.handle(Unknown Source)
at
org.apache.tapestry5.services.TapestryModule$41.handle(TapestryModule.java:2476)
at $ComponentEventRequestHandler_89a69b60a12.handle(Unknown Source)
at $ComponentEventRequestHandler_89a69b6090e.handle(Unknown Source)
at
org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)
at
org.apache.tapestry5.services.InitializeActivePageName.handleComponentEvent(InitializeActivePageName.java:39)
at $ComponentRequestHandler_89a69b60910.handleComponentEvent(Unknown
Source)
at $ComponentRequestHandler_89a69b608db.handleComponentEvent(Unknown
Source)
at
org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46)
at $Dispatcher_89a69b608de.dispatch(Unknown Source)
at $Dispatcher_89a69b608d7.dispatch(Unknown Source)
at
org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)
at
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
at $RequestHandler_89a69b608d8.service(Unknown Source)
at
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)
at $RequestHandler_89a69b608d8.service(Unknown Source)
at
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)
at $RequestHandler_89a69b608d8.service(Unknown Source)
at
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
at $RequestHandler_89a69b608d8.service(Unknown Source)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:105)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:95)
at
org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:119)
at $RequestHandler_89a69b608d8.service(Unknown Source)
at $RequestHandler_89a69b608cc.service(Unknown Source)
at
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253)
at
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
at $HttpServletRequestHandler_89a69b608ce.service(Unknown Source)
at
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
at $HttpServletRequestFilter_89a69b608ca.service(Unknown Source)
at $HttpServletRequestHandler_89a69b608ce.service(Unknown Source)
at
org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)
at $HttpServletRequestHandler_89a69b608ce.service(Unknown Source)
at $HttpServletRequestHandler_89a69b608c9.service(Unknown Source)
at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:163)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:65)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at 
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewrite

Forms require that the request method be POST and that the t:formdata query parameter have values

2012-12-07 Thread TG
In 5.3.6, I got this error if I use a form based submission. How do I avoid
this? There was no such error prior to 5.3.6.

Thanks.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Forms-require-that-the-request-method-be-POST-and-that-the-t-formdata-query-parameter-have-values-tp5718554.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disabling HMAC check

2012-11-23 Thread TG
Works like a charm. Thanks guy!



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disabling-HMAC-check-tp5718156p5718212.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disabling HMAC check

2012-11-21 Thread TG
Non-random string? How do I do that?



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disabling-HMAC-check-tp5718156p5718173.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disabling HMAC check

2012-11-21 Thread TG
Yes, it expires the session. How do I disable the warning?



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disabling-HMAC-check-tp5718156p5718170.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disabling HMAC check

2012-11-21 Thread TG
Error message is "The symbol 'tapestry.hmac-passphrase' has not been
configured. This is used to configure hash-based message authentication of
Tapestry data stored in forms, or in the URL. You application is less
secure, and more vulnerable to denial-of-service attacks, when this symbol
is not configured.
"

We just want to get rid of the above message.

If we add the following (copied from one of the user's reply at
http://tapestry.1045711.n5.nabble.com/hmac-sample-td5716873.html -

configuration.add(SymbolConstants.HMAC_PASSPHRASE, new
BigInteger(130, new SecureRandom()).toString(32));

The session timeout frequentlly, as soon as less than 1 minute with error
message like your HMAC id is different from whatever, which is not helpfui
as the users are still working on the form. We need to fill out a lot of
information in the HTML form, before submitting :)



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disabling-HMAC-check-tp5718156p5718163.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disabling HMAC check

2012-11-21 Thread TG
Error message is "The symbol 'tapestry.hmac-passphrase' has not been
configured. This is used to configure hash-based message authentication of
Tapestry data stored in forms, or in the URL. You application is less
secure, and more vulnerable to denial-of-service attacks, when this symbol
is not configured.
"

We just want to get rid of the above message.

If we add the following (copied from one of the user's reply at
http://tapestry.1045711.n5.nabble.com/hmac-sample-td5716873.html -

configuration.add(SymbolConstants.HMAC_PASSPHRASE, new
BigInteger(130, new SecureRandom()).toString(32));

The session timeout frequentlly, as soon as less than 1 minute with error
message like your HMAC id is different from whatever, which is not helpfui
as the users are still working on the form. We need to fill out a lot of
information in the HTML form, before submitting :)



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disabling-HMAC-check-tp5718156p5718162.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disabling HMAC check

2012-11-21 Thread TG
Error message is "The symbol 'tapestry.hmac-passphrase' has not been
configured. This is used to configure hash-based message authentication of
Tapestry data stored in forms, or in the URL. You application is less
secure, and more vulnerable to denial-of-service attacks, when this symbol
is not configured.
"

We just want to get rid of the above message.

If we add the following (copied from one of the user's reply at
http://tapestry.1045711.n5.nabble.com/hmac-sample-td5716873.html -

configuration.add(SymbolConstants.HMAC_PASSPHRASE, new
BigInteger(130, new SecureRandom()).toString(32));

The session timeout frequentlly, as soon as less than 1 minute with error
message like your HMAC id is different from whatever, which is not helpfui
as the users are still working on the form. We need to fill out a lot of
information in the HTML form, before submitting :)



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disabling-HMAC-check-tp5718156p5718161.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disabling HMAC check

2012-11-21 Thread TG
Error message is "The symbol 'tapestry.hmac-passphrase' has not been
configured. This is used to configure hash-based message authentication of
Tapestry data stored in forms, or in the URL. You application is less
secure, and more vulnerable to denial-of-service attacks, when this symbol
is not configured.
"

We just want to get rid of the above message.

If we add the following (copied from one of the user's reply at
http://tapestry.1045711.n5.nabble.com/hmac-sample-td5716873.html -

configuration.add(SymbolConstants.HMAC_PASSPHRASE, new
BigInteger(130, new SecureRandom()).toString(32));

The session timeout frequentlly, as soon as less than 1 minute with error
message like your HMAC id is different from whatever, which is not helpfui
as the users are still working on the form. We need to fill out a lot of
information in the HTML form, before submitting :)



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disabling-HMAC-check-tp5718156p5718160.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Disabling HMAC check

2012-11-21 Thread TG
Our app does not need this, we have our own timeout check. This check
interfere with ours. How do we disable this without getting the warning on
the screen?



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disabling-HMAC-check-tp5718156.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: java.lang.IllegalStateException: Sanity check - neither a stream response nor a redirect response was generated for this action request.

2012-11-11 Thread TG
Alex, great info.

I can't downgrade, as we are testing Cloud endpoints, which is only
available in 1.7.3.

Any idea what is breaking Tapestry 5.3.6 in this case? Any workaround is
acceptable too. Thanks!



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/java-lang-IllegalStateException-Sanity-check-neither-a-stream-response-nor-a-redirect-response-was-g-tp5717915p5717919.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



java.lang.IllegalStateException: Sanity check - neither a stream response nor a redirect response was generated for this action request.

2012-11-11 Thread TG
I got a new exception "java.lang.IllegalStateException: Sanity check -
neither a stream response nor a redirect response was generated for this
action request." after I upgraded the tapestry to 5.3.6. I was using 5.3.4
(or maybe earlier) before without any issue.

Our codes -

...
@InjectPage
private UserStart start;

...
public Object onSubmit() throws ValidationException {
Long id = -1L;

id = (new UserSecurityDAO()).exist(myBean);
Long bid = myBean.getId();

if(myBean != null && id > 0 && !id.equals(myBean.getId())) {
//as workaround as GAE4J does not support composite 
primary key i.e.
//beanManager.delete(id);
//throw new ValidationException("User with user id '" +
myBean.getUserId() + "' already exists!");
} else {
if(selectedList != null && selectedList.size() > 0) {
//change only if there is a selection, if not 
do not modify existing
role(s)
myBean.setUserRoles(selectedList);
}
}

beanManager.save(myBean);

return start;
}

Any help will be highly appreciated.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/java-lang-IllegalStateException-Sanity-check-neither-a-stream-response-nor-a-redirect-response-was-g-tp5717915.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Can i edit chenillekit pagedloop navigation links to <>

2012-08-14 Thread TG
Do you know where can I get the source codes for this customized pagedloop?
If not, what are the jar files of  chenillekit? I don't use Maven. Just
plain old copy and paste into lib/ ;)



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Can-i-edit-chenillekit-pagedloop-navigation-links-to-prev-next-tp4831199p5715427.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Tapestry 5 is #2!

2012-08-14 Thread TG
http://www.enerjy.com/explorer/index.html

Good news!



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-is-2-tp5715422.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: How to avoid ul turning into table?

2012-08-13 Thread TG
Thanks, works like a charm!



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-avoid-ul-turning-into-table-tp5715372p5715377.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



How to avoid ul turning into table?

2012-08-13 Thread TG
I am trying to create a iui list using tapestry. I used -



${SR.id}
 http://${hostName}/go/${SR.service}  




But this is still renders as a table. How do I "turned off" the table
rendering? And just let the output be a unordered list?



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-avoid-ul-turning-into-table-tp5715372.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry 5.3.4

2012-08-12 Thread TG
I am a bit behind, using plain of ways of copy and paste into lib/. Works
happily on GAEJ. :)



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-4-tp5714512p5715312.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Javascript && in Tapesytry

2012-06-04 Thread TG
How do I wrap in CDATA?

Also I tried to put .js fille as external file, but didn't work -

 

Any clues?

Thanks!


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Javascript-in-Tapesytry-tp5713586p5713613.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Javascript && in Tapesytry

2012-06-02 Thread TG
Thanks for all the quick response, on Saturday! :)

If I would not want to put my codes in external file, what option do I have?
:]

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Javascript-in-Tapesytry-tp5713586p5713589.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Javascript && in Tapesytry

2012-06-02 Thread TG
I wrote javacript codes in Tapestry but I got "Uncaught SyntaxError:
Unexpected token & " error. How do I write && in Tapestry without getting an
error? My codes -

xhr2.onreadystatechange = function() {
if (xhr2.readyState === 4 && xhr2.status === 200) {
...

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Javascript-in-Tapesytry-tp5713586.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re:

2012-05-19 Thread TG
Layout.tml's head tag contain a lot of html codes and css style sheets, which
need to be populated in LayoutWithSegments.tml. For some reason, they were
filtered by this forum.

Also LayoutWithSegments.tml -


http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

 









--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-head-tp5712176p5712397.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re:

2012-05-19 Thread TG
Not sure if it helps, but here you -

Layout.tml


http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

 







...

Layout.java

package app.components;

public class Layout
{
//not sure if I need to put the codes here or ???
}

LayoutWithSegments.java

package app.components;

public class LayoutWithSegments
{
//not sure if I need to put the codes here or ???
}

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-head-tp5712176p5712396.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re:

2012-05-19 Thread TG
If I follow the example using parameter, I got Caused by:
java.lang.RuntimeException: Block parameters are only allowed directly
within component elements.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-head-tp5712176p5712324.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re:

2012-05-19 Thread TG
I would like to achieve the same thing like the one mentioned in
http://blog.progs.be/45/using-a-tapestry5-layout-with-several-content-blocks.
Except that LayoutWithSegments is the one that makes use of Layout.

So how with the codes that are provided, where do they go?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-head-tp5712176p5712323.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re:

2012-05-18 Thread TG
I got -

Could not convert 'headBlock' into a component parameter binding: Exception
generating conduit for expression 'headBlock': Class
app.components.LayoutWithSegments does not contain a property (or public
field) named 'headBlock'.

There are 4 files involved (2 .tml and 2 java files), which one goes to
which files?

Thanks.


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-head-tp5712176p5712188.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



t:type="grid" total records?

2012-02-27 Thread TG
Hi,

Is there any easy way to get the count of the total rows of the grid
component?

Thanks!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-type-grid-total-records-tp5520539p5520539.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



beaneditform submit at the top instead of at the bottom

2012-01-09 Thread TG
Hi guys, would anyone advise on what is the best/easiest way to make the
submit button appear at the top?

Thanks

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/beaneditform-submit-at-the-top-instead-of-at-the-bottom-tp5132973p5132973.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-21 Thread TG
Awesome, finally a reply ! ;p

Hey, how do I fix "you were trying to return a Block without using AJAX
(i.e. without setting   
the zone attribute in the Form component"?

Sorry if it sounded too simple to you, but any link or resource would be
great.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p5012104.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-20 Thread TG
After days of scratching my head and banging my head against the wall, with
no help from the guru in this forum, I finally avoided the error by not
using zone. I suspect this is a bug of T5.3.

HTH

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p5008554.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5.3 RichtextEditor

2011-11-20 Thread TG
Found this "Improved documentation is coming (we're in the middle of a
transition from Maven to Gradle as the build and packaging tool)." on the
TAPX site.

I guess I need to wait for the documentation?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-3-RichtextEditor-tp5007607p5008310.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



T5.3 RichtextEditor

2011-11-19 Thread TG
I found this https://github.com/hlship/tapx/. I am trying to get it to work
on GAEJ. But I got this error -

SEVERE: Processing of request failed with uncaught exception: Unable to
resolve 'tapx/richtexteditor' to a component class name.

I got T5.3RC2.

Any idea? How do I set it up besides copying all the files into the project?
Thanks!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-3-RichtextEditor-tp5007607p5007607.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-19 Thread TG
I found this https://github.com/hlship/tapx/. I will let everyone know if it
works for me on GAEJ.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p5007540.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-17 Thread TG
Anyone? At least share with me what other rich text editor I can try out that
works on T5.3?

Thanks

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p5002984.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-15 Thread TG
Have anyone else see the problem of my post?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p4996572.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-15 Thread TG
Kept only -



Same issue.

Ya, I like the name ;p

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p4994467.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-15 Thread TG
It is a form post though and it is as the following -

http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
xmlns:sec="http://www.springframework.org/security/tags";>
 


${serviceObject.id}


Last updated: ${serviceObject.lastUpdated}







 


TIA

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p4994231.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-13 Thread TG
Ok I managed to fix the permgen issue. But now I got this error -

An unexpected application exception has occurred.

org.apache.tapestry5.runtime.ComponentEventException
A component event handler method returned the value Block[Body of
EditorSave:mainzone, at classpath:app/pages/EditorSave.tml, line 46]. Return
type org.apache.tapestry5.internal.structure.BlockImpl can not be handled.

Any help will be appreciated.

Thanks!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p4989410.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-13 Thread TG
I tried https://github.com/plannowtech/tapestry5-ckeditor

and I got

HTTP ERROR 500

Problem accessing /editor/CKEditorDemo. Reason:

PermGen space
Caused by:

java.lang.OutOfMemoryError: PermGen space
Powered by Jetty://

Is there any settings I can change to reserve more memory to the app?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p4989246.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3

2011-11-11 Thread TG
Is it on Google App Engine for Java (GAEJ)? Mine is on GAEJ and it does not
work.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p4984586.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: fckeditor for Tapestry 5.3 RC2

2011-11-10 Thread TG
I got this error -


Caused by: java.lang.NoSuchMethodError:
org.apache.tapestry5.ioc.Registry.getService(Ljava/lang/Class;)Ljava/lang/Object;
at
com.orientimport.easyfck.util.LegacyT5ServiceHelper.getService(LegacyT5ServiceHelper.java:40)
at
com.orientimport.easyfck.connector.FckEditorConnectorBridge.init(FckEditorConnectorBridge.java:70)
at net.fckeditor.connector.Dispatcher.(Dispatcher.java:98)
at
net.fckeditor.connector.Tapestry5InterceptFckActivityFilter.(Tapestry5InterceptFckActivityFilter.java:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_(Runtime.java:112)
at
com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:120)
at
org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:45)


Does it even work with Tapestry 5.3 RC2? :o

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p4983235.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



fckeditor for Tapestry 5.3

2011-11-10 Thread TG
Do we have one? If so, any link to setup and download it? I don't use Maven
just FYI.

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/fckeditor-for-Tapestry-5-3-tp4983201p4983201.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



RE: Beaneditform with two submit buttons?

2011-11-09 Thread TG
When you said Done, do you mean you have provided the source somewhere else?
Would you mind sharing the URL? Wiki or otherwise? Thanks!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beaneditform-with-two-submit-buttons-tp4967644p4978709.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



RE: Beaneditform with two submit buttons?

2011-11-07 Thread TG
Wulf, would you mind share the codes? Thanks ! :)

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beaneditform-with-two-submit-buttons-tp4967644p4972522.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Beaneditform with two submit buttons?

2011-11-07 Thread TG
Any kind souls out here that can send me samples codes with beaneditor with
two submit buttons that work?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beaneditform-with-two-submit-buttons-tp4967644p4972166.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Beaneditform with two submit buttons?

2011-11-06 Thread TG
I changed it and also changed



but I got

Parameter(s) 'object' are required for
org.apache.tapestry5.corelib.components.BeanEditForm, but have not been
bound.

What do I missed? Can you look at my codes again? Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beaneditform-with-two-submit-buttons-tp4967644p4969462.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Beaneditform with two submit buttons?

2011-11-06 Thread TG
I changed my codes to something like this -









${service.id}






  





and I got the following error -

The  element has been deprecated in Tapestry 5.3 in favour of
'tapestry:parameter' namespace.

Any idea?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beaneditform-with-two-submit-buttons-tp4967644p4969022.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Beaneditform with two submit buttons?

2011-11-06 Thread TG
Could you provide sample codes for that? Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beaneditform-with-two-submit-buttons-tp4967644p4968843.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Beaneditform with two submit buttons?

2011-11-05 Thread TG
Is it possible to have two submit buttons for this component? I would like to
implement "save" (the page stays) and "submit" (done, and go to the welcome
page).

Thanks.

TG

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Beaneditform-with-two-submit-buttons-tp4967644p4967644.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Unknown beaneditform save exception

2011-11-05 Thread TG
I added 

@Inject
private TypeCoercer typeCoercer;

and change the method to

return new EnumValueEncoder(typeCoercer, UserRole.class);

that seems to resolve the NPE issue.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Unknown-beaneditform-save-exception-tp4956725p4966622.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Unknown beaneditform save exception

2011-11-04 Thread TG
Could the following codes cause the exception?

public class UserSave {
...

public ValueEncoder getEncoder() {
return new EnumValueEncoder(null, UserRole.class);
}

If so, how do I need to change it to avoid the NPE?

Thanks

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Unknown-beaneditform-save-exception-tp4956725p4965565.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Unknown beaneditform save exception

2011-11-03 Thread TG
I used rc2, it gave the same exception. What else I could do? :(

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Unknown-beaneditform-save-exception-tp4956725p4962763.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Unknown beaneditform save exception

2011-11-01 Thread TG
Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException [at
classpath:app/pages/UserSave.tml, line 18]
at
org.apache.tapestry5.corelib.components.Form.executeStoredActions(Form.java:675)
at
org.apache.tapestry5.corelib.components.Form.advised$onAction_125243979eba1f47(Form.java:525)
at
org.apache.tapestry5.corelib.components.Form$Invocation_onAction_125243979eba1f46.proceedToAdvisedMethod(Unknown
Source)
at
org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:84)
at
org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:37)
at
org.apache.tapestry5.internal.plastic.AbstractMethodInvocation.proceed(AbstractMethodInvocation.java:86)
at org.apache.tapestry5.corelib.components.Form.onAction(Form.java)
at
org.apache.tapestry5.corelib.components.Form.dispatchComponentEvent(Form.java)
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:924)
at
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.processEventTriggering(ComponentPageElementImpl.java:1099)
... 87 more
Caused by: java.lang.NullPointerException
at
org.apache.tapestry5.util.EnumValueEncoder.toValue(EnumValueEncoder.java:51)
at
org.apache.tapestry5.util.EnumValueEncoder.toValue(EnumValueEncoder.java:24)
at
org.apache.tapestry5.corelib.components.Checklist.processSubmission(Checklist.java:173)
at
org.apache.tapestry5.corelib.base.AbstractField.processSubmission(AbstractField.java:193)
at
org.apache.tapestry5.corelib.base.AbstractField.access$100(AbstractField.java:37)
at
org.apache.tapestry5.corelib.base.AbstractField$ProcessSubmission.execute(AbstractField.java:95)
at
org.apache.tapestry5.corelib.base.AbstractField$ProcessSubmission.execute(AbstractField.java:89)
at
org.apache.tapestry5.corelib.components.Form.executeStoredActions(Form.java:664)
... 96 more

Any idea if this is an existing issue with Tapestry 5.3 beta 18.

Thanks!

TG

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Unknown-beaneditform-save-exception-tp4956725p4956725.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



T5.3 beta 18: java.net.URISyntaxException: Illegal character in path at index 33

2011-10-09 Thread TG
I tried T5.3 beta 18, I can not load the app without getting this exception -

Caused by: java.lang.RuntimeException: Error invoking service contribution
method
org.apache.tapestry5.services.TapestryModule.productionModeOverrides(MappedConfiguration,
boolean): Exception constructing service 'ApplicationDefaults': Failure
reading bytecode for class app.services.AppModule: Illegal character in path
at index 33: file:/Users/tg/Workspaces/Eclipse 3.7
Java/Light/war/WEB-INF/classes/app/services/AppModule.class
at
org.apache.tapestry5.ioc.internal.ContributionDefImpl.invokeMethod(ContributionDefImpl.java:134)
at
org.apache.tapestry5.ioc.internal.ContributionDefImpl.contribute(ContributionDefImpl.java:88)
at
org.apache.tapestry5.ioc.internal.RegistryImpl$7.run(RegistryImpl.java:549)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47)
at
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:76)
at
org.apache.tapestry5.ioc.internal.RegistryImpl.addToMappedConfiguration(RegistryImpl.java:545)
at
org.apache.tapestry5.ioc.internal.RegistryImpl.getMappedConfiguration(RegistryImpl.java:499)
at
org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:126)
at
org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:123)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at
org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010)
at
org.apache.tapestry5.ioc.internal.ServiceResourcesImpl.getMappedConfiguration(ServiceResourcesImpl.java:121)
at
org.apache.tapestry5.ioc.internal.AbstractServiceCreator.getMappedConfiguration(AbstractServiceCreator.java:144)
at
org.apache.tapestry5.ioc.internal.AbstractServiceCreator.access$300(AbstractServiceCreator.java:35)
at
org.apache.tapestry5.ioc.internal.AbstractServiceCreator$1.findResource(AbstractServiceCreator.java:107)
at
org.apache.tapestry5.ioc.internal.util.DelegatingInjectionResources.findResource(DelegatingInjectionResources.java:38)
at
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateInjection(InternalUtils.java:226)
at
org.apache.tapestry5.ioc.internal.util.InternalUtils.access$000(InternalUtils.java:48)
at
org.apache.tapestry5.ioc.internal.util.InternalUtils$2.invoke(InternalUtils.java:267)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at
org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010)
at
org.apache.tapestry5.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:271)
at
org.apache.tapestry5.ioc.internal.util.InternalUtils$20.invoke(InternalUtils.java:1401)
at
org.apache.tapestry5.ioc.internal.util.InternalUtils$20.invoke(InternalUtils.java:1396)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at
org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010)
at
org.apache.tapestry5.ioc.internal.util.InternalUtils.createConstructorConstructionPlan(InternalUtils.java:1393)
at
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.getPlan(ConstructorServiceCreator.java:52)
at
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:61)
at
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
at
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87)
at
org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1010)
at
org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49)
at
org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29)
at
org.apache

Re: PageCatalog and ServiceStatus

2011-10-09 Thread TG
It is beta 9. Which jar file(s) is it in? I do not use Maven. Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/PageCatalog-and-ServiceStatus-tp4880131p4885211.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



PageCatalog and ServiceStatus

2011-10-07 Thread TG
I read somewhere that in Tapestry 5.3, I can hit /pagecatalog and
/servicestatus to look at the memory usage etc. But when I hit the URL, it
said not found.

How do I configure to get these two functionalities?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/PageCatalog-and-ServiceStatus-tp4880131p4880131.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



User registration component with captcha for tapestry 5.3?

2011-09-30 Thread TG
Hi,

If I sounded like to greedy, please let me know :) Do you know if there is
any tapestry component that allow user registration feature, like including
email notificatiion, captcha etc as a tapestry components/mixins?

If not, what is the workaround/best alternative(s)?

Thanks!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/User-registration-component-with-captcha-for-tapestry-5-3-tp4858061p4858061.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Textarea with character count?

2011-09-30 Thread TG
Thanks guy!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Textarea-with-character-count-tp4843530p4858058.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Textarea with character count?

2011-09-26 Thread TG
Hi,

I wonder in Tapestry world, is there such a component that while user types,
it will counts how many characters have the user typed. Alternatively, I
would like to know if there is a way to restrict the textarea to a fixed
size, say 500 characters. If exceeded, no more text will be allowed.

Any suggestion would be appreciated.

Thanks!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Textarea-with-character-count-tp4843530p4843530.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-09-18 Thread TG
Thanks Howard, beta 9 seems to fix the issue :)

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-IOCSymbols-THREAD-POOL-ENABLED-does-not-work-tp4728718p4817670.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-09-17 Thread TG
Is this issue fixed? Anyway I can download the binaries? Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-IOCSymbols-THREAD-POOL-ENABLED-does-not-work-tp4728718p4814755.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Gradle build failed

2011-09-17 Thread TG
I do not use Maven and I am trying to build Tapestry 5.3. I got error like -

TGs-MacBook-Pro:apache-tapestry-5.3.0-sources ag$ gradle

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/tg/Downloads/apache-tapestry-5.3.0-sources/build.gradle'
line: 15

* What went wrong:
A problem occurred evaluating root project 'apache-tapestry-5.3.0-sources'.
Cause: Could not find method mavenLocal() for arguments [] on resolver
container.

* Try:
Run with -s or -d option to get more details. Run with -S option to get the
full (very verbose) stacktrace.

BUILD FAILED

Total time: 14.121 secs

Any idea how to fix it? Or is there anyway to download the latest binaries
(5.3 beta9?) anywhere for poor me? :(

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Gradle-build-failed-tp4814742p4814742.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry5-jquery error

2011-09-11 Thread TG
I grabbed the latest build for T5.3 and now I have this error -

Sep 12, 2011 12:42:46 AM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: failed app: java.lang.IllegalArgumentException: Contribution
org.got5.tapestry5.jquery.services.JQueryModule.provideWorkers(OrderedConfiguration)
(at JQueryModule.java:150) is for service 'interface
org.apache.tapestry5.services.ComponentClassTransformWorker' qualified with
marker annotations [], which does not exist.
S

Any idea what could be wrong?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry5-jquery-error-tp4792688p4792818.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Tapestry5-jquery error

2011-09-11 Thread TG
Ok guys, I tried to look at the forum and Googled, I am still stuck. So I am
trying my luck to see if anyone could help me to figure out this error -

An unexpected application exception has occurred.

org.apache.tapestry5.ioc.internal.OperationException
Unable to resolve 'jquery/autocomplete' to a component class name.

I used https://github.com/got5/tapestry5-jquery component, copied the src
files (.java and .tml files, I do not use Maven!) into the eclipse project.
My codes -







No matter what I do, Tapestry 5.3 does not seem to find the component. Any
help would be appreciated.

Thanks!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry5-jquery-error-tp4792688p4792688.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T 5.3 Alert and AlertManager Tutorials

2011-08-25 Thread TG
You are right, no difference still does not invoke the service override
method.

Anything else that I can try?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4736001.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T 5.3 Alert and AlertManager Tutorials

2011-08-25 Thread TG
Here you go -

 org.apache.tapestry5.TapestryFilter
 
 
 app
 /*
 

Also I put a system out in the method like this -

@Contribute(ServiceOverride.class)
public static void
setupApplicationServiceOverrides(MappedConfiguration
configuration) {
System.out.println("AppModule 
setupApplicationServiceOverrides() ...");
configuration.add(PeriodicExecutor.class, new PeriodicExecutor() { 
public PeriodicJob addJob(Schedule schedule, String name,
Runnable job) { 
System.out.println("AppModule 
createNOOPPeriodicExecutor()
returning null.");
return null;
} 
}); 
} 

Maybe I need something else to get it to call? @Contribute annotation, what
does it need? If AOP, forget about it, it is GAEJ and would not work
properly :) Indeed a very basic (limited by lots of constraints for
scalabilty sake) platform :)

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4735337.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T 5.3 Alert and AlertManager Tutorials

2011-08-25 Thread TG
Hope the following helps -

In web.xml:

 tapestry.app-package
 tapp

At least the following methods are called in AppModule -

public static void bind(ServiceBinder binder) {

public static void
contributeApplicationDefaults(MappedConfiguration
configuration) {

But unfortunately not the method that you had suggested I put in.

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4734813.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T 5.3 Alert and AlertManager Tutorials

2011-08-24 Thread TG
Yup GAEJ failed, but the method you wrote was not invoked. It might works if
it does? :o

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732903.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T 5.3 Alert and AlertManager Tutorials

2011-08-24 Thread TG
I put the method in AppModule but it does not seem to be invoked, anything
else I need to do?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732706.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T 5.3 Alert and AlertManager Tutorials

2011-08-24 Thread TG
I am stuck with issue https://issues.apache.org/jira/browse/TAP5-1616. What a
bummer, seems like AlertManager depends on threading too? :(

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732600.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T 5.3 Alert and AlertManager Tutorials

2011-08-24 Thread TG
I got the following in my WEB-INF/lib -

plastic-5.3.jar
tapestry-annotations-5.3.0.jar
tapestry-beanvalidator-5.3.0.jar
tapestry-core-5.3.0.jar
tapestry-func-5.3.0.jar
tapestry-hibernate-5.3.0.jar
tapestry-hibernate-core-5.3.0.jar
tapestry-ioc-5.3.jar
tapestry-json-5.3.0.jar
tapestry-test-5.3.0.jar

Are those all? Any jar file(s) I am missing?

Also in Eclipse, could you click Ctrl/Cmd + Shift + T, type in AlertManager
and let me know what jar file it is in?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732569.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T 5.3 Alert and AlertManager Tutorials

2011-08-24 Thread TG
AlertManager is located in what jar? I am not using Maven. And I can't import
it from Eclipse ...

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732546.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



T 5.3 Alert and AlertManager Tutorials

2011-08-24 Thread TG
I would like to use the transient alert in the new T 5.3, but I could not
find any sample codes anywhere. Does it exists? Could someone kindly send me
a sample or two? :)

TIA

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732469.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-08-24 Thread TG
Whole app is not working anymore. Using alpha 12, it works. Not sure if this
helps.

I remember the "backward compatibility" with GAEJ is one of the feature of
Tapestry, I am hoping it is still true.

Thanks!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-IOCSymbols-THREAD-POOL-ENABLED-does-not-work-tp4728718p4731044.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-08-24 Thread TG
Could any other kind soul advice if this flag works at all in the latest
alpha? If I revert to some other version before alpha 13 of 5.3, it works
but it has some other issue like -

Exception constructing service 'PageSource': Error invoking service builder
method
org.apache.tapestry5.internal.services.InternalModule.buildPageSource(PageSourceImpl,
InvalidationEventHub, InvalidationEventHub) (at InternalModule.java:160)
(for service 'PageSource'): Exception invoking method public void
org.apache.tapestry5.internal.services.PageSourceImpl.startJanitor(org.apache.tapestry5.ioc.services.cron.PeriodicExecutor,long):
Exception constructing service 'PeriodicExecutor': Error invoking
constructor
org.apache.tapestry5.ioc.internal.services.cron.PeriodicExecutorImpl(ParallelExecutor,
Logger) (at PeriodicExecutorImpl.java:190) via
org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder) (at
TapestryIOCModule.java:49) (for service 'PeriodicExecutor'): access denied
(java.lang.RuntimePermission modifyThreadGroup) 

Thanks for any help.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-IOCSymbols-THREAD-POOL-ENABLED-does-not-work-tp4728718p4730200.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-08-23 Thread TG
The AppModule is recognized and loaded Howard. I put a sysout inpublic
static void bind(ServiceBinder binder), thus confirming that.

Anything else is different in 5.3? I see that the flags used to be Strings,
not a boolean, I was just wondering ...


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-IOCSymbols-THREAD-POOL-ENABLED-does-not-work-tp4728718p4728774.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Tapestry 5.3: IOCSymbols.THREAD_POOL_ENABLED does not work!?

2011-08-23 Thread TG
My AppModule's method -

public static void
contributeApplicationDefaults(MappedConfiguration
configuration) {
configuration.add("tapestry.thread-pool-enabled", false);
...

I also tried -

public static void
contributeApplicationDefaults(MappedConfiguration
configuration) {
configuration.add(IOCSymbols.THREAD_POOL_ENABLED, false);

...

But I got thread creation permission error in both cases. Is this broken in
Tapestry 5.3? The version I used is 5.3 alpha 13. I need this so that it
works on GAEJ.

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-IOCSymbols-THREAD-POOL-ENABLED-does-not-work-tp4728718p4728718.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5.3 Checklist java.lang.reflect.GenericSignatureFormatError

2011-08-23 Thread TG
Ok I missed one jar, I fixed that. Now I got the following -

Exception constructing service 'PageSource': Error invoking service
builder method
org.apache.tapestry5.internal.services.InternalModule.buildPageSource(PageSourceImpl,
InvalidationEventHub, InvalidationEventHub) (at InternalModule.java:160)
(for service 'PageSource'): Exception invoking method public void
org.apache.tapestry5.internal.services.PageSourceImpl.startJanitor(org.apache.tapestry5.ioc.services.cron.PeriodicExecutor,long):
Exception constructing service 'PeriodicExecutor': Error invoking
constructor
org.apache.tapestry5.ioc.internal.services.cron.PeriodicExecutorImpl(ParallelExecutor,
Logger) (at PeriodicExecutorImpl.java:190) via
org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder) (at
TapestryIOCModule.java:49) (for service 'PeriodicExecutor'): access denied
(java.lang.RuntimePermission modifyThreadGroup)


I think it is because GAEJ does not allow spawning of thread, how do I
disable that in alpha 13?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-3-Checklist-Sample-Codes-tp4714412p4728137.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5.3 Checklist java.lang.reflect.GenericSignatureFormatError

2011-08-23 Thread TG
I updated with T5.3 alpha 13 and I got new exception -


Aug 23, 2011 7:27:47 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via
com.google.apphosting.utils.jetty.JettyLogger
Aug 23, 2011 7:27:48 PM
com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed /Users/tg/Workspaces/Eclipse 3.7
Java/Project/war/WEB-INF/appengine-web.xml
Aug 23, 2011 7:27:48 PM
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed /Users/tg/Workspaces/Eclipse 3.7
Java/Project/war/WEB-INF/web.xml
Aug 23, 2011 7:27:51 PM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: failed app: java.lang.ArrayStoreException:
sun.reflect.annotation.TypeNotPresentExceptionProxy
Aug 23, 2011 7:27:51 PM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: Failed startup of context
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@388698fa{/,/Users/tg/Workspaces/Eclipse
3.7 Java/Project/war}
java.lang.ArrayStoreException:
sun.reflect.annotation.TypeNotPresentExceptionProxy
at
sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
at
sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)

Now, the whole app is not deployed properly. Nothing is working. Any idea
how to workaround this exception?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-3-Checklist-Sample-Codes-tp4714412p4727965.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: T5.3 Checklist java.lang.reflect.GenericSignatureFormatError

2011-08-23 Thread TG
Downloaded from somewhere on Sunday, August 14, 2011 12:51 PM.

Is the latest available at
https://repository.apache.org/content/repositories/snapshots/org/apache/tapestry/tapestry-core/5.3-SNAPSHOT/
?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-3-Checklist-Sample-Codes-tp4714412p4726632.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



T5.3 Checklist java.lang.reflect.GenericSignatureFormatError

2011-08-22 Thread TG
Yup, thanks for the sample source at the given URL. I managed to remove
Chenillekit multiselect component and integrated T 5.3 Checklist. However,
with existing data (which were saved by Chenilekit component), it gave the
following error. Any idea? Could it be a T 5.3 bug?

org.apache.tapestry5.ioc.internal.OperationTrackerImpl log: Exception
assembling root component of page UserSave: Could not convert 'user' into a
component parameter binding: Exception generating conduit for expression
'user': java.lang.reflect.GenericSignatureFormatError

org.apache.tapestry5.ioc.internal.OperationTrackerImpl log: Operations
trace:

org.apache.tapestry5.ioc.internal.OperationTrackerImpl log: [ 1]
Constructing instance of page class tapp.pages.UserSave

org.apache.tapestry5.ioc.internal.OperationTrackerImpl log: [ 2] Assembling
root component for page UserSave

org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler
handleRequestException: Processing of request failed with uncaught
exception: Exception assembling root component of page UserSave: Could not
convert 'user' into a component parameter binding: Exception generating
conduit for expression 'user': java.lang.reflect.GenericSignatureFormatError
org.apache.tapestry5.ioc.internal.OperationException: Exception assembling
root component of page UserSave: Could not convert 'user' into a component
parameter binding: Exception generating conduit for expression 'user':
java.lang.reflect.GenericSignatureFormatError
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.logAndRethrow(OperationTrackerImpl.java:102)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:69)
at
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at
org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1082)
at
org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.assembleRootComponent(ComponentAssemblerImpl.java:87)
at
org.apache.tapestry5.internal.pageload.PageLoaderImpl$3.invoke(PageLoaderImpl.java:213)
at
org.apache.tapestry5.internal.pageload.PageLoaderImpl$3.invoke(PageLoaderImpl.java:206)
at
org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:65)
at
org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:68)
at
org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1082)
at
org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:205)
at $PageLoader_3623c106ac052.loadPage(Unknown Source)
at
org.apache.tapestry5.internal.services.PageSourceImpl.getPage(PageSourceImpl.java:87)
at $PageSource_3623c106ac051.getPage(Unknown Source)
at
org.apache.tapestry5.internal.services.NonPoolingRequestPageCacheImpl.get(NonPoolingRequestPageCacheImpl.java:83)
at $RequestPageCache_3623c106ac050.get(Unknown Source)
at $RequestPageCache_3623c106ac04a.get(Unknown Source)
at
org.apache.tapestry5.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:55)
at
org.apache.tapestry5.services.TapestryModule$37.handle(TapestryModule.java:2376)
at $PageRenderRequestHandler_3623c106ac04e.handle(Unknown Source)
at $PageRenderRequestHandler_3623c106ac048.handle(Unknown Source)
at
org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handlePageRender(ComponentRequestHandlerTerminator.java:48)
at
org.apache.tapestry5.services.InitializeActivePageName.handlePageRender(InitializeActivePageName.java:47)
at $ComponentRequestHandler_3623c106ac049.handlePageRender(Unknown 
Source)
at $ComponentRequestHandler_3623c106ac027.handlePageRender(Unknown 
Source)
at
org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:45)
at $Dispatcher_3623c106ac029.dispatch(Unknown Source)
at $Dispatcher_3623c106ac023.dispatch(Unknown Source)
at
org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:434)
at
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
at $RequestHandler_3623c106ac024.service(Unknown Source)
at
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:1055)
at $RequestHandler_3623c106ac024.service(Unknown Source)
at
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:1045)
at $RequestHandler_3623c106ac024.service(Unknown Source)
at
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
at $RequestHandler_3623c106ac024.service(Unknown Source)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter

Add extra buttons in beaneditform

2011-08-22 Thread TG
It seems like with http://tapestry.1045711.n5.nabble.com/Add-extra-buttons-in-beaneditform-tp4723870p4723870.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Grid display after a new row insertion

2011-08-20 Thread TG
Anyone? Sorting of grid column programmatically should not be that difficult
correct?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Grid-display-after-a-new-row-insertion-tp4715298p4718683.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Grid display after a new row insertion

2011-08-19 Thread TG
I have this -

t:type="grid" source="items" t:model="beanModel"

and

public BeanModel getBeanModel() {
BeanModel model = beanModelSource.createDisplayModel(Item.class,
messages);
PropertyModel nameColumn = model.getById("lastUpdated");
nameColumn.sortable(true);
((Grid)model).getSortModel().updateSort("lastUpdated");
return model;
}

But it does not work/sort after I insert the row. Any idea what I might be
missing?



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Grid-display-after-a-new-row-insertion-tp4715298p4716188.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Grid display after a new row insertion

2011-08-19 Thread TG
I noticed that if my grid is more than the maximum row that it can display,
say 25 rows per page, it does not  display the page that the row is inserted
in. For example, say existing table consists of 50 rows (say 25 rows max per
page) and I inserted the new one, the start page shows the rows at the first
page but not the third page (which contains the newly inserted row).

What do I in the Start page or Save page in order to make grid display the
page with the newly added row so that it i visible and clear to the user
that it is inserted/added successfully?

Thanks for any insight into this.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Grid-display-after-a-new-row-insertion-tp4715298p4715298.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



T5.3 Checklist Sample Codes

2011-08-18 Thread TG
I prefer not to use Palette component for multiple selections, I read about
Checklist component for T5.3. Could any kind soul share the codes on how to
use it? Currently I am using ChenilleKit's component and I am trying to move
away from that...

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-3-Checklist-Sample-Codes-tp4714412p4714412.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: t:type="grid" "Excerpt" column

2011-08-18 Thread TG
All, thanks for your explanations, it works. I can see ... now :)

Antalk, your Java example codes is the answer that fill the missing gap. I
understand the use case of excerpt now. Thanks a lot and it is not late at
all.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-type-grid-Excerpt-column-tp4708859p4712620.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: t:type="grid" "Excerpt" column

2011-08-17 Thread TG
Could you clarify with a sample codes of what you mean by "add a String   
getStoryExcerpt() methord that returns the excerpt."? Also, do I implement
it in the Page?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-type-grid-Excerpt-column-tp4708859p4710871.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



t:type="grid" "Excerpt" column

2011-08-17 Thread TG
I am trying to display a table using grid and one of the column are the
details of a story, but in the start page, I would like an excerpt of that
column. Meaning the text should be truncated to say first 100 characters.

What is the best way to do this? With minimal codes in Tapestry 5?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-type-grid-Excerpt-column-tp4708859p4708859.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Null LifeCycleState

2011-08-16 Thread TG
Any one know how to resolve this issue? 

location 
classpath:org/apache/tapestry5/corelib/pages/PropertyDisplayBlocks.tml, line
8 
javax.jdo.JDOFatalInternalException 
Null LifeCycleState 
Hide uninteresting stack frames Stack trace 
org.datanucleus.state.JDOStateManagerImpl.replacingStateManager(JDOStateManagerImpl.java:1371)
 
tapp.model.Template.jdoReplaceStateManager(Template.java) 
org.datanucleus.state.JDOStateManagerImpl$1.run(JDOStateManagerImpl.java:996) 
java.security.AccessController.doPrivileged(Native Method) 
org.datanucleus.state.JDOStateManagerImpl.replaceStateManager(JDOStateManagerImpl.java:992)
 
org.datanucleus.state.JDOStateManagerImpl.disconnectClone(JDOStateManagerImpl.java:4650)
 
org.datanucleus.state.JDOStateManagerImpl.isLoaded(JDOStateManagerImpl.java:1884)
 
tapp.model.Template.jdoGetlastAccessed(Template.java) 
tapp.model.Template.getLastAccessed(Template.java:72) 
org.apache.tapestry5.internal.services.CoercingPropertyCondui 

Thanks

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Null-LifeCycleState-tp4704261p4704261.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Zebra Grid in Tapestry 5.2.6

2011-08-09 Thread TG
Dmitry, your solution works like a charm :) ! I think it is the simplest that
works with Tapestry grid I have seen so far.

Thanks a lot!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Zebra-Grid-in-Tapestry-5-2-6-tp4680461p4681963.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Zebra Grid in Tapestry 5.2.6

2011-08-08 Thread TG
What is the simplest way to do this without writing any codes but maybe just
css3?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Zebra-Grid-in-Tapestry-5-2-6-tp4680461p4680461.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Creating unique URLs

2011-07-27 Thread TG
Taha, it works! Thanks so much.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-Forum-tp2404216p4640804.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Creating unique URLs

2011-07-27 Thread TG
Come on guys, please help a fellow newbie tapestry here :) Taha provided me
with those two links, one is confirm.js another is Confirm.java. How do I
incorporate that in my Grid action hyperlink?

TIA

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-Forum-tp2404216p4640695.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Delete confirmation with beaneditform

2011-07-26 Thread TG
So how do I make use of these two files (.js and .java)?

Delete ?


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Delete-confirmation-with-beaneditform-tp4634451p4635174.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Delete confirmation with beaneditform

2011-07-26 Thread TG
Sorry I meant with Grid component not beaneditform, do you know what is the
simplest way to provide confirmation dialog? Confirm or Cancel?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Delete-confirmation-with-beaneditform-tp4634451p4634451.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Delete confirmation with beaneditform

2011-07-25 Thread TG
I use beaneditform to generate my CRUD UI and web tiers automagically. I
would like to have Delete action prompt me to confirm or cancel the action,
no customization required, plain confirmation box. I saw some threads in
this forum, it does not seem to have any one link annotation or codes that
can let me just provide this simple functionalities. I do not want to write
any Java class or anything that is more than 1 or 2 lines of codes, is it
possible?

If not, what is the simplest approach?

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Delete-confirmation-with-beaneditform-tp4633324p4633324.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hyperlink not becoming hyperlink

2011-05-17 Thread TG
Yup, it works. Thanks so much for all responses!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hyperlink-not-becoming-hyperlink-tp4403607p4404798.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hyperlink not becoming hyperlink

2011-05-17 Thread TG
Richard, I wish it is that simple :) No, it does not work. Thanks anyway for
the tips.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hyperlink-not-becoming-hyperlink-tp4403607p4403780.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hyperlink not becoming hyperlink

2011-05-17 Thread TG
Thanks for the prompt response. Actually I meant url as part of tapestry grid
component. So I tried this -

http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
xmlns:p="tapestry:parameter">
...

...

 ${url.endpoint} Link  
 
...

and it does not work. Any idea how to make the endpoint clickable URL
automagically?

Thanks.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hyperlink-not-becoming-hyperlink-tp4403607p4403743.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Hyperlink not becoming hyperlink

2011-05-17 Thread TG
Hi,

This is a newbie question so please bear with me :) I used beanedit to
display HTML. So far I like it, but a column that contains hyperlink, the
values does not "become" a hyperlink that I can click to launch an external
site.

How do I make the values becoming a clickable hyperlink in Tapestry 5? Is
there any easy way? One line code is the best.

Thanks.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hyperlink-not-becoming-hyperlink-tp4403607p4403607.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



  1   2   >