How to add dinamic content

2013-08-18 Thread nn kk
 Hi all,
I want to be able to create and insert component dynamicly. For example, I want 
to have add button and by every click to add whole new tapestry page or 
component. I don't know how many addings will I have, I want this to be 
handeled dynamicly. It's like using spring to return ModelAndView object by 
ajax request and inserting it in some UI container.

-
Само сега спечели смартфон SAMSUNG и още много награди!виж
http://www.specheli.eu/specheli-textgbg.php

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



Re: How to add dinamic content

2013-08-18 Thread Martin Kersten
So to be clear you want to do something like this:

Page: Button A - User clicks
Page: SomeComponents
  Button A - User clicks
Page: Some components
  Some more components
  ButtonA

etc.
So what you want is not adding pages but components
This can be done using Zones. This is a basic concept of Tapestry.

Take a look here:
http://jumpstart.doublenegative.com.au/jumpstart/
Check out the EventLink (former ActionLink)
Then all you do is to replace the innerhtml of a existing component with
new components.
Check out Ajax EventLink and Zone without yellow highlight etc. The whole
Ajax XXX sections
should held the answer you seek.


Cheers,

Martin (Kersten),
Germany



2013/8/18 nn kk inv...@abv.bg

  Hi all,
 I want to be able to create and insert component dynamicly. For example, I
 want to have add button and by every click to add whole new tapestry page
 or component. I don't know how many addings will I have, I want this to be
 handeled dynamicly. It's like using spring to return ModelAndView object by
 ajax request and inserting it in some UI container.

 -
 Само сега спечели смартфон SAMSUNG и още много награди!виж
 http://www.specheli.eu/specheli-textgbg.php

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




Re: What do we need to learn to use Tapestry 5.4 ?

2013-08-18 Thread Martin Kersten
Hehe. Well as far as I remember only 5.0.0 was jinxed that way the rest
went on smoothly. And as always the outcome is worth the wait.


2013/8/18 Jon Williams williams.jonat...@gmail.com

 Oh no Martin! ya jinxed it. Now we're gonna have to give Captain 'Ship and
 his merry men another 6 months. ;-)


 On Sat, Aug 17, 2013 at 3:27 PM, Martin Kersten 
 martin.kersten...@gmail.com
  wrote:

  Wenn is 5.4 planed to hit the road?
 
 
  2013/8/17 Muhammad Gelbana m.gelb...@gmail.com
 
   As far as I understand. T5.4 will have a major refactor for the client
  side
   related code. And I've passed by many Javascript libraries names like
   Backbone, Coffescript and others.
  
   So to summerize, what new stuff will we, tapestry users, need to learn
 to
   use T5.4 ?
  
   *-*
   *Muhammad Gelbana*
   Java Software Engineer
  
 



Re: What do we need to learn to use Tapestry 5.4 ?

2013-08-18 Thread Muhammad Gelbana
I'm not sure I fully understand. So all I need to learn is the new Tapestry
server\client API and that's it ? No specific JS libraries ?

*-*
*Muhammad Gelbana*
Java Software Engineer


On Sun, Aug 18, 2013 at 7:29 PM, Martin Kersten martin.kersten...@gmail.com
 wrote:

 Hehe. Well as far as I remember only 5.0.0 was jinxed that way the rest
 went on smoothly. And as always the outcome is worth the wait.


 2013/8/18 Jon Williams williams.jonat...@gmail.com

  Oh no Martin! ya jinxed it. Now we're gonna have to give Captain 'Ship
 and
  his merry men another 6 months. ;-)
 
 
  On Sat, Aug 17, 2013 at 3:27 PM, Martin Kersten 
  martin.kersten...@gmail.com
   wrote:
 
   Wenn is 5.4 planed to hit the road?
  
  
   2013/8/17 Muhammad Gelbana m.gelb...@gmail.com
  
As far as I understand. T5.4 will have a major refactor for the
 client
   side
related code. And I've passed by many Javascript libraries names like
Backbone, Coffescript and others.
   
So to summerize, what new stuff will we, tapestry users, need to
 learn
  to
use T5.4 ?
   
*-*
*Muhammad Gelbana*
Java Software Engineer