textfield error Parameter(s) 'translate' are required when displaying foreign field.

2008-09-11 Thread Tan [EMAIL PROTECTED]
Hi,

I'm newbie in tapestry, i have a problem when i want to show a foreign field
value in textfield. it show me the error as below:
Parameter(s) 'translate' are required for
org.apache.tapestry5.corelib.components.TextField, but have not been bound.

in java is:

@Component(id = Customer)
private Customer customer;
public Customer getCustomer()
{
   return customer;
}
public void setCustomer(Customer customer)
{
   this.customer = customer;
}
===
in tml is:
===
input  t:type=TextField t:id=Customer t:value=Customer
t:maxLenght=5 t:size=5 /
===

may i know how to solve this kind of problem?
*Remark: Customer field is a foreign field.

Thank you.

Regards,
Tan


T5Component Accordion

2008-08-05 Thread Tan [EMAIL PROTECTED]
hi,

I 'm newbie in tapestry. let say I have 5 Accordion Menu.

|-Menu1
|-Menu2
|-Menu3
|-Menu4
|-Menu5

when i click on the menu2. it will show the menu2's contain. but,
when it refresh the page, i still wan the Accordion menu open up the menu2
that i choose previously.  May i know is there any way to be done?

Thank you.

Regards,
Tan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TreeView sample

2008-07-30 Thread Tan [EMAIL PROTECTED]
hi,

i'm newbie in tapestry and t5components. i'm currently using
t5components/Accordion as my menu.
but i was thinking to put some sub t5components/Accordion or tree view
inside the Detail.
because tutorial is using private String _detail = wording   .
is there any way to attach my sub component inside the Accordion?

Thank you.

Regards,
Tan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



dynamically disable field input type=text

2008-07-29 Thread Tan [EMAIL PROTECTED]
hi all,

i'm newbie in tapestry.  May i know is there any dynamically way to
code it in java to control over tml input type=text become read-only
= false or true base
on my coding?
Thank you.

Regards,
Tan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dynamically disable field input type=text

2008-07-29 Thread Tan [EMAIL PROTECTED]
hi,

thank you for your reply.  i will try on it. :)

On Tue, Jul 29, 2008 at 8:45 PM, Lance Java [EMAIL PROTECTED] wrote:
 java:
 class MyPage {
   @Property
   private String value;

   @Property
   private boolean disabled;
 }

 tml:
 t:textfield value=value disabled=${disabled} /

 On 29/07/2008, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 hi all,

 i'm newbie in tapestry.  May i know is there any dynamically way to
 code it in java to control over tml input type=text become read-only
 = false or true base
 on my coding?
 Thank you.

 Regards,
 Tan

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dynamically disable field input type=text

2008-07-29 Thread Tan [EMAIL PROTECTED]
hi,

as the documentation mentioned.If true, then the field will render
out with a disabled attribute (to turn off client-side behavior).
Further, a disabled field ignores any value in the request when the
form is submitted.  this is not i want. i need to dynamically set the
field read-only or not read-only due to some situation where user will
click modify, then i not really want user to able to change on the
key field value.

Thank you.
Regards,
Tan

On Wed, Jul 30, 2008 at 1:31 AM, Josh Canfield [EMAIL PROTECTED] wrote:

 t:textfield value=value disabled=${disabled} /


 Disabled is a parameter to the textfield component. It's default binding is
 prop so you don't want the ${} around disabled.

 t:textfield value=value disabled=disabled /

 http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/TextField.html

 Josh
 On Tue, Jul 29, 2008 at 5:45 AM, Lance Java [EMAIL PROTECTED]wrote:

 java:
 class MyPage {
   @Property
   private String value;

   @Property
   private boolean disabled;
 }

 tml:
 t:textfield value=value disabled=${disabled} /

 On 29/07/2008, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  hi all,
 
  i'm newbie in tapestry.  May i know is there any dynamically way to
  code it in java to control over tml input type=text become read-only
  = false or true base
  on my coding?
  Thank you.
 
  Regards,
  Tan
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




 --
 --
 TheDailyTube.com. Sign up and get the best new videos on the internet
 delivered fresh to your inbox.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[T5] is there any way to use actionlink to call submit from outside of FORM?

2008-07-10 Thread Tan [EMAIL PROTECTED]
hi,

i have an actionlink outside the form. like below


t:actionlink t:id=toolbarSave t:zone=zoneFormView img
src=images/saveRecord16.png //t:actionlink
form 
...
input type=submit  t:type=submit value=submit

/form

and, is there any way to call from actionlink to call submit from the FORM?
thank you.


Regards,
Cyber

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] is there any way to use actionlink to call submit from outside of FORM?

2008-07-10 Thread Tan [EMAIL PROTECTED]
thanks for your reply.  I will try it out :)

On Fri, Jul 11, 2008 at 1:41 AM, Josh Canfield [EMAIL PROTECTED] wrote:

 is there any way to call from actionlink to call submit from the FORM?
 thank you.


 You can either submit the form, or follow the actionlink. If you want the
 action to be performed when the form is submitted then add the
 functionality/method call to one of the form event handlers.

 Then you can use prototype's Event to watch for a click on the link and
 submit the form.

 a href=# id=toolbarSave img src=images/saveRecord16.png //a
 t:form t:id=YOUR_FORM_ID t:zone=zoneFormView
 ...
 input type=submit  t:type=submit value=submit
 
 /t:form

 script
 Event.observe('toolbarSave', 'click', function()
 {$('YOUR_FORM_ID').submit(); return false;});
 /script

 I didn't run this, so you might need to play with it to make it work.

 Josh


 On Thu, Jul 10, 2008 at 8:55 AM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:

 hi,

 i have an actionlink outside the form. like below


 t:actionlink t:id=toolbarSave t:zone=zoneFormView img
 src=images/saveRecord16.png //t:actionlink
 form 
 ...
 input type=submit  t:type=submit value=submit
 
 /form

 and, is there any way to call from actionlink to call submit from the FORM?
 thank you.


 Regards,
 Cyber

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 --
 --
 TheDailyTube.com. Sign up and get the best new videos on the internet
 delivered fresh to your inbox.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



can we do something for grid.refresh() with the parameter inplace=true?

2008-07-08 Thread Tan [EMAIL PROTECTED]
hi,

i'm newbie in tapestry.  can we do something like  grid.refresh()
(example) with the parameter inplace=true?
i noticed that it will run setupRender, setupDataSource,
getAvailableRows.. when I click on paging 2 in the grid ( because
after i click on the page2
and click back to the page1. my previously saved data  which located
in my page1 will refresh.)?

Thank you
Regards,
CyBer

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Refresh inplace grid content

2008-07-03 Thread Tan [EMAIL PROTECTED]
hi,

may i know how to refresh grid content which using inplace=true without
refresh whole page?
Thank you.

Regards,
TanMH


how to refresh only div in tapestry 5?

2008-07-03 Thread Tan [EMAIL PROTECTED]
Dear All,

May I know how to refresh only div instead of whole page in tapestry5 ?
Thank you.

Regards,
Cyber


Re: T5 first time loading very slow.

2008-07-01 Thread Tan [EMAIL PROTECTED]
thanks all.  I'm using Apache Geronimo + tomcat. I don have Hibernate
module.
Regarding the profiling mentioned by Robert. I not really clear and totally
no idea on it.
May i have more information about that?

Thank you.



On Tue, Jul 1, 2008 at 2:27 PM, José Paumard [EMAIL PROTECTED] wrote:

 Hello,

 If you have an Hibernate module in yout T5 application, then it's most
 probably the time taken by Hibernate to scan the table in your DB schema.
 I'm working on an app with both a Tomcat only and a Tomcat + JBoss
 deployment environment, in the 2nd case, it's JBoss that takes care of this
 DB verifying, and T5 launches like a breeze. In the 1st case, yes, it takes
 about 1mn for the webapp to start up. And of course in the Eclipse Jetty
 environment (the development one), it's the same, restarting the app takes
 about 1mn too.

 Hope this helped,

 José

 Robert Zeigler a écrit :


 Hi Tan,

 I'm pretty sure this is NOT tapestry.
 I have multiple apps of varying degrees of complexity, and it only ever
 takes a few seconds at most to startup T5.
 You might consider profiling...

 Robert

 On Jul 1, 2008, at 7/112:46 AM , Tan [EMAIL PROTECTED] wrote:

  Hi,

 i have tried even pure tapestry code without javascript. it will take me
 45sec ~ 1mins ++.
 is that pagepool took too long to load up?
 Thank you.

 Cyber

 On Tue, Jul 1, 2008 at 1:32 PM, Angelo Chen [EMAIL PROTECTED]
 wrote:


 does the page contain some javascripts? sometimes it takes to download,
 try
 using Firefox's firebug to check how many Ks downloaded.


 Tan [EMAIL PROTECTED] wrote:


 hi all,

 my T5 first time loading very slow. it need to take 45sec ~1mins++ by
 using
 Core2Duo.
 is there any way to tune it?

 Thank you.

 REgards,
 TAnMH



 --
 View this message in context:

 http://www.nabble.com/T5-first-time-loading-very-slow.-tp18209457p18209544.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: T5components crash with mysql jdbc??

2008-07-01 Thread Tan [EMAIL PROTECTED]
thanks robert,  I think due to i have add all the dependency for the
t5components. and some will crash
with mysql jdbc.  once i have remove some unnecessary jar file. the program
work perfectly :)

On Tue, Jul 1, 2008 at 2:01 PM, Robert Zeigler [EMAIL PROTECTED] wrote:

 That looks more like you have a pooling mechanism enabled, but the
 connection is timing out.
 It's definitely not t5component/mysqljdbc interaction; just today, I
 created a new project using both mysql's connector/J, and t5components, and
 I've had no issues.

 Robert


 On Jun 29, 2008, at 6/2911:23 AM , Tan [EMAIL PROTECTED] wrote:

  hi all,

 i have a problem on t5components integrated with T5 mysql jdbc.
 previously, when without t5compoents is ok. after i have added some
 jar file. it prompt me the error as below.

 Render queue error in SetupRender[MaterialTypeMaintenance]: The bean
 encountered a non-application exception.; nested exception is:
 openjpa-1.0.2-r420667:627158 fatal general error
 org.apache.openjpa.persistence.PersistenceException: Communications link
 failure Last packet sent to the server was 0 ms ago.


 below are the jar files that just added.  I have troubleshooting this
 problem about one day. still can't figure out why?

 any one can help me out? thank you.

 javassist-3.7
 easymock-2.3
 ognl-2.7
 groovy-all-1.0
 commons-httpclient-3.1
 t5c-contrib-0.5.13
 bsf-2.4.0
 tapestry-test-5.0.13
 commons-logging-1.1
 t5c-commons-0.5.13
 freemarker-2.3.13
 slf4j-api-1.4.3
 Regards,
 [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Grid inplace is working. but table content no update even backend data changed.

2008-07-01 Thread Tan [EMAIL PROTECTED]
hi all,

i have a real time data changing at the back end using tapestry grid
inplace=true. is working for paging.
it didn't refresh the whole page.  but, when the data has changed. value
that display on the grid  didn't update/refresh.
i understand that, this is because of ajax. it didn't reload the data. may i
know is there any way to refresh/reload data
without refresh whole page?

Thank you.

Regards,
Cyber


Re: [T5] Grid paging refresh the whole document , can it be done in AJAX-way ?

2008-06-30 Thread Tan [EMAIL PROTECTED]
i'm using java 1.5. but the problem still the same. is there any parameter
or java code that need to
code before it able to function properly?

On Sun, Jun 29, 2008 at 11:59 PM, faramos [EMAIL PROTECTED] wrote:


 hi...

 Someone mentioned that with java 1.6 does not work but with java 1.5 works
 perfect. I have java 1.6 installed on my computer and does not work.

 Greetings from Chile...


 CG-6 wrote:
 
  Hi nill,
   I have tested with the inPlace set to true , it does refresh the grid
  in place ..
 
  however, rather than the page is shown , it show there is no data to
  display ..
 
  Do we need to code something at page class in order to archive that ?
  GridDataSource needed ?
 
 
  CG
 
 
  On Sun, Jun 29, 2008 at 12:24 PM, CG [EMAIL PROTECTED] wrote:
  o , thx  nillehammer..  I'll hv try on that ..
 
  Cheers
  CG
 
  On Thu, Jun 26, 2008 at 12:22 AM, nille hammer
  [EMAIL PROTECTED] wrote:
 
  Hi CG,
 
  the inPlace attribute of the t:grid tag does what you are asking for.
  For further infos look here:
 
 http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html
 
  Cheers nillehammer
 
  - original Nachricht 
 
  Betreff: [T5] Grid paging refresh the whole document , can it be done
 in
  AJAX-way ?
  Gesendet: Mi, 25. Jun 2008
  Von: CG[EMAIL PROTECTED]
 
  The T5 Grid compoment come with paging functionality , however,
  whenever a click on the pager component , it will refresh the whole
  page(document) instead of the grid area.
 
  I wonder can it only refresh the Grid body rather than refresh the
  whole page , maybe using block and zone ?
 
  Or any way we can override the existing function to archive that ?
 
  Thanks.
 
  CG
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  --- original Nachricht Ende 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Re%3A--T5--Grid-paging-refresh-the-whole-document-%2C-can-it-be-done-in-AJAX-way---tp18116577p18182338.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




[T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
hi all,

is any one have workable tapestry5 grid inplace sample? i think i have miss
out some coding.
it show me here is no data to display.


REGards,
Cyber


Re: [T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
no. do you have any sample ?

On Tue, Jul 1, 2008 at 12:39 AM, Yunhua Sang [EMAIL PROTECTED] wrote:

 Have you put the grid in a zone?

 On Mon, Jun 30, 2008 at 10:48 AM, Tan [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  hi all,
 
  is any one have workable tapestry5 grid inplace sample? i think i have
 miss
  out some coding.
  it show me here is no data to display.
 
 
  REGards,
  Cyber
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: [T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
may i know how to code it? because i have tried as what u have mentioned.
but still come
out the message. there is no a data.

On Tue, Jul 1, 2008 at 12:44 AM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 no. do you have any sample ?


 On Tue, Jul 1, 2008 at 12:39 AM, Yunhua Sang [EMAIL PROTECTED]
 wrote:

 Have you put the grid in a zone?

 On Mon, Jun 30, 2008 at 10:48 AM, Tan [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  hi all,
 
  is any one have workable tapestry5 grid inplace sample? i think i have
 miss
  out some coding.
  it show me here is no data to display.
 
 
  REGards,
  Cyber
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





Re: [T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
t:grid
   t:source=materialTypes
   t:row=materialType
   t:rowsPerPage=1
   t:pagerPosition=top
   t:inPlace=true
   

   t:parameter name=idCell
t:actionlink t:id=select  t:zone=zoneFormView
t:context=materialType.id
${materialType.id}
/t:actionlink
/t:parameter
   /t:grid
/t:zone

thank you

On Tue, Jul 1, 2008 at 12:57 AM, Yunhua Sang [EMAIL PROTECTED] wrote:

 So when you remove the inPlace attribute, it works well, right?

 May I have a look at your code?


 On Mon, Jun 30, 2008 at 12:48 PM, Tan [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  may i know how to code it? because i have tried as what u have mentioned.
  but still come
  out the message. there is no a data.
 
  On Tue, Jul 1, 2008 at 12:44 AM, Tan [EMAIL PROTECTED] 
 [EMAIL PROTECTED]
  wrote:
 
  no. do you have any sample ?
 
 
  On Tue, Jul 1, 2008 at 12:39 AM, Yunhua Sang [EMAIL PROTECTED]
  wrote:
 
  Have you put the grid in a zone?
 
  On Mon, Jun 30, 2008 at 10:48 AM, Tan [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:
   hi all,
  
   is any one have workable tapestry5 grid inplace sample? i think i
 have
  miss
   out some coding.
   it show me here is no data to display.
  
  
   REGards,
   Cyber
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: [T5] tapestry grid inplace.

2008-06-30 Thread Tan [EMAIL PROTECTED]
thank you YunHua. because lack of @Persist  :)

On Tue, Jul 1, 2008 at 2:00 AM, Yunhua Sang [EMAIL PROTECTED] wrote:

 Is materialTypes with annotation @Persist?

 By the way, you don't need to put the t:grid in a zone, my mistake. if
 inPlace set to ture, the grid is with a zone aromatically.

 Yunhua

 On Mon, Jun 30, 2008 at 1:01 PM, Tan [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  t:grid
t:source=materialTypes
t:row=materialType
t:rowsPerPage=1
t:pagerPosition=top
t:inPlace=true

 
t:parameter name=idCell
 t:actionlink t:id=select  t:zone=zoneFormView
  t:context=materialType.id
 ${materialType.id}
 /t:actionlink
 /t:parameter
/t:grid
 /t:zone
 
  thank you
 
  On Tue, Jul 1, 2008 at 12:57 AM, Yunhua Sang [EMAIL PROTECTED]
 wrote:
 
  So when you remove the inPlace attribute, it works well, right?
 
  May I have a look at your code?
 
 
  On Mon, Jun 30, 2008 at 12:48 PM, Tan [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:
   may i know how to code it? because i have tried as what u have
 mentioned.
   but still come
   out the message. there is no a data.
  
   On Tue, Jul 1, 2008 at 12:44 AM, Tan [EMAIL PROTECTED] 
  [EMAIL PROTECTED]
   wrote:
  
   no. do you have any sample ?
  
  
   On Tue, Jul 1, 2008 at 12:39 AM, Yunhua Sang [EMAIL PROTECTED]
   wrote:
  
   Have you put the grid in a zone?
  
   On Mon, Jun 30, 2008 at 10:48 AM, Tan [EMAIL PROTECTED]
   [EMAIL PROTECTED] wrote:
hi all,
   
is any one have workable tapestry5 grid inplace sample? i think i
  have
   miss
out some coding.
it show me here is no data to display.
   
   
REGards,
Cyber
   
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




T5 first time loading very slow.

2008-06-30 Thread Tan [EMAIL PROTECTED]
hi all,

my T5 first time loading very slow. it need to take 45sec ~1mins++ by using
Core2Duo.
is there any way to tune it?

Thank you.

REgards,
TAnMH


Re: T5 first time loading very slow.

2008-06-30 Thread Tan [EMAIL PROTECTED]
Hi,

i have tried even pure tapestry code without javascript. it will take me
45sec ~ 1mins ++.
is that pagepool took too long to load up?
Thank you.

Cyber

On Tue, Jul 1, 2008 at 1:32 PM, Angelo Chen [EMAIL PROTECTED]
wrote:


 does the page contain some javascripts? sometimes it takes to download, try
 using Firefox's firebug to check how many Ks downloaded.


 Tan [EMAIL PROTECTED] wrote:
 
  hi all,
 
  my T5 first time loading very slow. it need to take 45sec ~1mins++ by
  using
  Core2Duo.
  is there any way to tune it?
 
  Thank you.
 
  REgards,
  TAnMH
 
 

 --
 View this message in context:
 http://www.nabble.com/T5-first-time-loading-very-slow.-tp18209457p18209544.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




T5components crash with mysql jdbc??

2008-06-29 Thread Tan [EMAIL PROTECTED]
hi all,

i have a problem on t5components integrated with T5 mysql jdbc.
previously, when without t5compoents is ok. after i have added some
jar file. it prompt me the error as below.

Render queue error in SetupRender[MaterialTypeMaintenance]: The bean
encountered a non-application exception.; nested exception is:
openjpa-1.0.2-r420667:627158 fatal general error
org.apache.openjpa.persistence.PersistenceException: Communications link
failure Last packet sent to the server was 0 ms ago.


below are the jar files that just added.  I have troubleshooting this
problem about one day. still can't figure out why?

any one can help me out? thank you.

javassist-3.7
easymock-2.3
ognl-2.7
groovy-all-1.0
commons-httpclient-3.1
t5c-contrib-0.5.13
bsf-2.4.0
tapestry-test-5.0.13
commons-logging-1.1
t5c-commons-0.5.13
freemarker-2.3.13
slf4j-api-1.4.3
Regards,
[EMAIL PROTECTED]


Re: Unable to resolve 't5components/Accordion' to a component class name

2008-06-26 Thread Tan [EMAIL PROTECTED]
thanks sven,

I have tried. but still failed.  may i know how to deploy t5components
inside a tapestry  web project?
or may be can you show me the project files layout. where should it be
located?
THank you.

REgards,
Cyber

On Thu, Jun 26, 2008 at 3:05 PM, Sven Homburg [EMAIL PROTECTED]
wrote:

 try t5components/Accordion


 2008/6/26 Tan [EMAIL PROTECTED] [EMAIL PROTECTED]:

  hi all,
 
  I have a problem to deploy t5components.
  even i use t5c/Accordion , Acordion or t5compoents/Accordion also facing
  the
  same problem.
  is there any path wrong?
 
  Unable to resolve 't5c/Accordion' to a component class name. Available
  component types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay,
  BeanEditForm, BeanEditor, Checkbox, DateField, Delegate, Errors,
 EventLink,
  ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell,
  GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw,
  PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor, Radio,
  RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier,
  TextArea, TextField, TextOutput, Unless, Zone, dojocomponent.
 
 
  Thank you.
 
  Regards,
  TanMH
 



 --
 with regards
 Sven Homburg
 http://tapestry5-components.googlecode.com
 http://chenillekit.googlecode.com



Re: Unable to resolve 't5components/Accordion' to a component class name

2008-06-26 Thread Tan [EMAIL PROTECTED]
Yes Tobias,  it did show unable to resolve to component class name.  is that
two t5components.jar physically
need to copy to the WEB-INF/lib?

On Thu, Jun 26, 2008 at 5:44 PM, Tobias Wehrum [EMAIL PROTECTED] wrote:

 Hi Cyber,

 in case you use Maven, just include the the dependencies in the POM. In
 case you don't, just include the jars like any other jar via
 Project-Properties-Java Build Path-Libraries.

 Did you try including the code shown at the demo page (
 http://87.193.218.134:8080/t5c-demo/accordionpage )? Does it still say
 that it is unable to resolve it to component class name?

 - Tobias

 Tan [EMAIL PROTECTED] schrieb:

  thanks sven,

 I have tried. but still failed.  may i know how to deploy t5components
 inside a tapestry  web project?
 or may be can you show me the project files layout. where should it be
 located?
 THank you.

 REgards,
 Cyber

 On Thu, Jun 26, 2008 at 3:05 PM, Sven Homburg [EMAIL PROTECTED]
 wrote:



 try t5components/Accordion


 2008/6/26 Tan [EMAIL PROTECTED] [EMAIL PROTECTED]:



 hi all,

 I have a problem to deploy t5components.
 even i use t5c/Accordion , Acordion or t5compoents/Accordion also facing
 the
 same problem.
 is there any path wrong?

 Unable to resolve 't5c/Accordion' to a component class name. Available
 component types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay,
 BeanEditForm, BeanEditor, Checkbox, DateField, Delegate, Errors,


 EventLink,


 ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell,
 GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw,
 PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor,
 Radio,
 RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier,
 TextArea, TextField, TextOutput, Unless, Zone, dojocomponent.


 Thank you.

 Regards,
 TanMH




 --
 with regards
 Sven Homburg
 http://tapestry5-components.googlecode.com
 http://chenillekit.googlecode.com








 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




how to deploy t5components in existing T5 project?

2008-06-25 Thread Tan [EMAIL PROTECTED]
Hi,

May i know how to deploy t5components in existing T5 project? there are not
really many documentation
to guide how to deploy it in T5 project.
Thank you.

Regards,
CYberTAn


[T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
hi all,

i 'm testing tutorial in
http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html

in start.tml
_

html t:type=layout xmlns:t=
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;

   h1Welcome to the Nifty Web Application!/h1

   p
Would you like to t:pagelink page=loginLog In/t:pagelink?
   /p
/html
_

after rendered.

it should be

html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
titleMy Nifty Web Application/title
/head
body
div class=nav-top
Nifty Web Application
/div
   h1Welcome to the Nifty Web Application!/h1

   p
Would you like to t:pagelink page=loginLog In/t:pagelink?
   /p
div class=nav-bottom
(C) 2008 NiftyWebCo, Inc.
/div
/body
/html


but, how come. after render. it become

html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
titleMy Nifty Web Application/title
/head
body

   h1Welcome to the Nifty Web Application!/h1

   p
Would you like to t:pagelink page=loginLog In/t:pagelink?
   /p

/body
/html



can some one help me?
Thank you.

Cyber


Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
hi marcelo,

thanks for your reply.  yes. i did put
src/main/resources/your_app_pkg/components
src/main/resources/your_app_pkg/pages
is there any possibility?

Thank you.

Regards,
Cyber




On Tue, Jun 24, 2008 at 8:40 PM, Marcelo Lotif [EMAIL PROTECTED] wrote:

 Hi,
 Did you put the Layout.tml on the right package? It should be under
 src/main/resources/your_app_pkg/components. I recommend you to
 create a directory called src/main/resources/your_app_pkg/pages and
 put your pages inside it too.

 2008/6/24 Tan [EMAIL PROTECTED] [EMAIL PROTECTED]:
  hi all,
 
  i 'm testing tutorial in
  http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html
 
  in start.tml
  _
 
  html t:type=layout xmlns:t=
  http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
  /html
  _
 
  after rendered.
 
  it should be
  
  html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 titleMy Nifty Web Application/title
 /head
 body
 div class=nav-top
 Nifty Web Application
 /div
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
 div class=nav-bottom
 (C) 2008 NiftyWebCo, Inc.
 /div
 /body
  /html
  
 
  but, how come. after render. it become
  
  html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 titleMy Nifty Web Application/title
 /head
 body
 
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
 
 /body
  /html
  
 
 
  can some one help me?
  Thank you.
 
  Cyber
 



 --
 Atenciosamente,

 Marcelo Lotif
 Programador Java e Tapestry
 FIEC - Federação das Indústrias do Estado do Ceará
 (85) 3477-5910

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
Hi,

I did have put some message in setuprender and onactivate.
i did show me the System.out.println(test1);
but, how come it didn't render the div ?
Thankk you.

On Tue, Jun 24, 2008 at 9:39 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 hi marcelo,

 thanks for your reply.  yes. i did put
 src/main/resources/your_app_pkg/components
 src/main/resources/your_app_pkg/pages
 is there any possibility?

 Thank you.

 Regards,
 Cyber





 On Tue, Jun 24, 2008 at 8:40 PM, Marcelo Lotif [EMAIL PROTECTED]
 wrote:

 Hi,
 Did you put the Layout.tml on the right package? It should be under
 src/main/resources/your_app_pkg/components. I recommend you to
 create a directory called src/main/resources/your_app_pkg/pages and
 put your pages inside it too.

 2008/6/24 Tan [EMAIL PROTECTED] [EMAIL PROTECTED]:
  hi all,
 
  i 'm testing tutorial in
  http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html
 
  in start.tml
 
 _
 
  html t:type=layout xmlns:t=
  http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
  /html
 
 _
 
  after rendered.
 
  it should be
  
  html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 titleMy Nifty Web Application/title
 /head
 body
 div class=nav-top
 Nifty Web Application
 /div
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
 div class=nav-bottom
 (C) 2008 NiftyWebCo, Inc.
 /div
 /body
  /html
  
 
  but, how come. after render. it become
  
  html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 titleMy Nifty Web Application/title
 /head
 body
 
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
 
 /body
  /html
  
 
 
  can some one help me?
  Thank you.
 
  Cyber
 



 --
 Atenciosamente,

 Marcelo Lotif
 Programador Java e Tapestry
 FIEC - Federação das Indústrias do Estado do Ceará
 (85) 3477-5910

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
sorry. should be after SetupRender. then it ended
by right if there is an error. it should go to cleanuprender. but, it didn't
go though that function.


On Tue, Jun 24, 2008 at 10:01 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 Hi,

 I did have put some message in setuprender and onactivate.
 i did show me the System.out.println(test1);
 but, how come it didn't render the div ?
 Thankk you.


 On Tue, Jun 24, 2008 at 9:39 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:

 hi marcelo,

 thanks for your reply.  yes. i did put
 src/main/resources/your_app_pkg/components
 src/main/resources/your_app_pkg/pages
 is there any possibility?

 Thank you.

 Regards,
 Cyber





 On Tue, Jun 24, 2008 at 8:40 PM, Marcelo Lotif [EMAIL PROTECTED]
 wrote:

 Hi,
 Did you put the Layout.tml on the right package? It should be under
 src/main/resources/your_app_pkg/components. I recommend you to
 create a directory called src/main/resources/your_app_pkg/pages and
 put your pages inside it too.

 2008/6/24 Tan [EMAIL PROTECTED] [EMAIL PROTECTED]:
  hi all,
 
  i 'm testing tutorial in
  http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html
 
  in start.tml
 
 _
 
  html t:type=layout xmlns:t=
  http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
  /html
 
 _
 
  after rendered.
 
  it should be
 
 
  html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 titleMy Nifty Web Application/title
 /head
 body
 div class=nav-top
 Nifty Web Application
 /div
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
 div class=nav-bottom
 (C) 2008 NiftyWebCo, Inc.
 /div
 /body
  /html
 
 
 
  but, how come. after render. it become
 
 
  html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 titleMy Nifty Web Application/title
 /head
 body
 
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
 
 /body
  /html
 
 
 
 
  can some one help me?
  Thank you.
 
  Cyber
 



 --
 Atenciosamente,

 Marcelo Lotif
 Programador Java e Tapestry
 FIEC - Federação das Indústrias do Estado do Ceará
 (85) 3477-5910

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
ok. now all the function are successful go though.
[component:setupRender]
[component:beginRender]
[component:beforeRenderTemplate]
[component:beforeRenderBody]
[component:afterRenderBody]
[component:afterRenderTemplate]
[component:afterRender]
[component:cleanupRender]

but, still didn't show div ...
may i know is it can not find tml file?

On Tue, Jun 24, 2008 at 10:25 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

 sorry. should be after SetupRender. then it ended
 by right if there is an error. it should go to cleanuprender. but, it
 didn't go though that function.



 On Tue, Jun 24, 2008 at 10:01 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:

 Hi,

 I did have put some message in setuprender and onactivate.
 i did show me the System.out.println(test1);
 but, how come it didn't render the div ?
 Thankk you.


 On Tue, Jun 24, 2008 at 9:39 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:

 hi marcelo,

 thanks for your reply.  yes. i did put
 src/main/resources/your_app_pkg/components
 src/main/resources/your_app_pkg/pages
 is there any possibility?

 Thank you.

 Regards,
 Cyber





 On Tue, Jun 24, 2008 at 8:40 PM, Marcelo Lotif [EMAIL PROTECTED]
 wrote:

 Hi,
 Did you put the Layout.tml on the right package? It should be under
 src/main/resources/your_app_pkg/components. I recommend you to
 create a directory called src/main/resources/your_app_pkg/pages and
 put your pages inside it too.

 2008/6/24 Tan [EMAIL PROTECTED] [EMAIL PROTECTED]:
  hi all,
 
  i 'm testing tutorial in
  http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html
 
  in start.tml
 
 _
 
  html t:type=layout xmlns:t=
  http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
  /html
 
 _
 
  after rendered.
 
  it should be
 
 
  html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 titleMy Nifty Web Application/title
 /head
 body
 div class=nav-top
 Nifty Web Application
 /div
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
 div class=nav-bottom
 (C) 2008 NiftyWebCo, Inc.
 /div
 /body
  /html
 
 
 
  but, how come. after render. it become
 
 
  html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 head
 titleMy Nifty Web Application/title
 /head
 body
 
h1Welcome to the Nifty Web Application!/h1
 
p
 Would you like to t:pagelink page=loginLog In/t:pagelink?
/p
 
 /body
  /html
 
 
 
 
  can some one help me?
  Thank you.
 
  Cyber
 



 --
 Atenciosamente,

 Marcelo Lotif
 Programador Java e Tapestry
 FIEC - Federação das Indústrias do Estado do Ceará
 (85) 3477-5910

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







Re: [T5] how to add dojo in tapestry5?

2008-06-23 Thread Tan [EMAIL PROTECTED]
thank you.  I will try it out first.

On Mon, Jun 23, 2008 at 4:13 PM, Vladimir Solomenchuk [EMAIL PROTECTED]
wrote:


 Hi,

 You have two ways to do this:
 1. simply include into your page/components dojo javascript libraries
 2. write your own PageRenderSupport (see public void
 contributeMarkupRenderer(...) in TapestyModule)




 Tan [EMAIL PROTECTED] wrote:
 
  hi all,
  hi i know tapestry5 come with scriptaculous and prototype. but i wan
  to
  use something like dojo AccordionContainer in tml.
  may i know any way to do it? thank youl.
 
  Regards,
  [EMAIL PROTECTED]
 
 

 --
 View this message in context:
 http://www.nabble.com/-T5--how-to-add-dojo-in-tapestry5--tp18044089p18064520.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




[T5] how to add dojo in tapestry5?

2008-06-21 Thread Tan [EMAIL PROTECTED]
hi all,
hi i know tapestry5 come with scriptaculous and prototype. but i wan to
use something like dojo AccordionContainer in tml.
may i know any way to do it? thank youl.

Regards,
[EMAIL PROTECTED]


Re: How to call the javascript

2008-06-20 Thread Tan [EMAIL PROTECTED]
Hi,

You may refer to
http://tapestry.apache.org/tapestry5/tapestry-core/guide/ajax.html. hope it
can help u.

Thank you.

Regards,
CyberTan

On Fri, Jun 20, 2008 at 2:05 PM, 滕训华 [EMAIL PROTECTED] wrote:

 If I write my own javascript function,how to call it in my page class?




[T5] custom component like no function.

2008-06-20 Thread Tan [EMAIL PROTECTED]
Hi all,


I have a problem on custom component. i think i have left out something or
do something wrong.
my layout.tml header and footer 's wording didn't come out at the start.tml
render.
only show out Would you like to Log In?'
can someone help me?  :(

Regards,

example like layout.

layout.tml
---

html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
titleMy Nifty Web Application/title
/head
body
div class=nav-top
   header
/div

t:body/

div class=nav-bottom
footer here
/div
/body
/html


layout.java
--

package com.companyname.web.components;

public class layout  {
}


start.tml


html t:type=layout xmlns:t=
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;

   h1header here/h1

   p
Would you like to t:pagelink page=indexLog In/t:pagelink?
   /p
/html


start.java

package com.companyname.web.pages;


public class maint_materialtype  {

}


custom component like no function.

2008-06-19 Thread Tan [EMAIL PROTECTED]
Hi all,


I have a problem on custom component. i think i have left out something or
do something wrong.
my layout.tml header and footer 's wording didn't come out at the start.tml
render.
only show out Would you like to Log In?'
can someone help me?  :(

Regards,

example like layout.

layout.tml
---

html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
titleMy Nifty Web Application/title
/head
body
div class=nav-top
   header
/div

t:body/

div class=nav-bottom
footer here
/div
/body
/html


layout.java
--

package com.companyname.web.components;

public class layout  {
}


start.tml


html t:type=layout xmlns:t=
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;

   h1header here/h1

   p
Would you like to t:pagelink page=indexLog In/t:pagelink?
   /p
/html


start.java

package com.companyname.web.pages;


public class maint_materialtype  {

}


tapestry5 + dojo/ajax.

2008-06-19 Thread Tan [EMAIL PROTECTED]
Hi all,

I have a problem on my web layout. i have tree view menu at my left hand
side. right hand side is my tapestry grid.
but, when i select a other paging. it will refresh my tree view to initial
state again. how do i do to refresh only my grid
only without refresh also my tree view?

Thank you.

Regards,
cybertan