Re: Help me! How can i access a service in tapestry5 .

2010-07-19 Thread micheal822



Josh Canfield wrote:
 
 I want that when i click the bar, i want to go to another
 tapestry page with parameters.
 
 Check out PageRenderLinkSource 
 
 http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/PageRenderLinkSource.html#createPageRenderLinkWithContext(java.lang.String,%20java.lang.Object...)
 
 -- Josh
 
 On Jul 18, 2010, at 7:19 AM, micheal822 zhufeng...@163.com wrote:
 
 
 There is a project i have being doing recently. And now I have a big
 problem, hope you help me,thanks.
 I have to draw bar chart in a html page, the situation is that the
 bar
 chart is drawed by javascript, and the javascript code is produced by an
 action listener. I want that when i click the bar, i want to go to
 another
 tapestry page with parameters. The question is that how can i access the
 tapestry service with tag A(such as 
 http://localhost:8080/app?service=someservice aaa  in tapestry 4),just
 like
 when i click an ActionLink component, it can trigger an Action method.
 
 -- 
 View this message in context:
 http://old.nabble.com/Help-me%21-How-can-i-access-a-service-in-tapestry5-.-tp29197261p29197261.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
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 
 
 

Josh,thank you very much! Now I can solve the problem that pazzled me so
long time.
-- 
View this message in context: 
http://old.nabble.com/Help-me%21-How-can-i-access-a-service-in-tapestry5-.-tp29197261p29203969.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: Help me! How can i access a service in tapestry5 .

2010-07-18 Thread Josh Canfield
 I want that when i click the bar, i want to go to another
 tapestry page with parameters.

Check out PageRenderLinkSource 

http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/PageRenderLinkSource.html#createPageRenderLinkWithContext(java.lang.String,%20java.lang.Object...)

-- Josh

On Jul 18, 2010, at 7:19 AM, micheal822 zhufeng...@163.com wrote:

 
 There is a project i have being doing recently. And now I have a big
 problem, hope you help me,thanks.
 I have to draw bar chart in a html page, the situation is that the bar
 chart is drawed by javascript, and the javascript code is produced by an
 action listener. I want that when i click the bar, i want to go to another
 tapestry page with parameters. The question is that how can i access the
 tapestry service with tag A(such as 
 http://localhost:8080/app?service=someservice aaa  in tapestry 4),just like
 when i click an ActionLink component, it can trigger an Action method.
 
 -- 
 View this message in context: 
 http://old.nabble.com/Help-me%21-How-can-i-access-a-service-in-tapestry5-.-tp29197261p29197261.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
 

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