Re: Tapestry Page Pool handling.

2008-05-28 Thread zaxeer

Hi
i am using Jetty pluged in with eclipse.
Zaheer



Toby Hobson wrote:
> 
> What application server are you using?
> 
> Toby
> 
> - Original Message ----
> From: zaxeer <[EMAIL PROTECTED]>
> To: users@tapestry.apache.org
> Sent: Friday, 23 May, 2008 1:40:54 PM
> Subject: Tapestry Page Pool handling.
> 
> 
> Hi All,
> I am facing a problem in tapestry related to pages cache, when some html
> page is changed its changes are not reflected until we restart server or
> set
> the parameter 
> -Dorg.apache.tapestry.disable-caching=true.
> 
> both cases are not good for me.
> 
> I want to ask that can i access tapestry page pool and set some specific
> page cleared from pool or at least set the whole pool cleared.
> 
> i need your help please i am waiting
> 
> thanks
> 
> bye.
> -- 
> View this message in context:
> http://www.nabble.com/Tapestry-Page-Pool-handling.-tp17424724p17424724.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]
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tapestry-Page-Pool-handling.-tp17424724p17506857.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]



Tapestry Page Pool handling.

2008-05-23 Thread zaxeer

Hi All,
I am facing a problem in tapestry related to pages cache, when some html
page is changed its changes are not reflected until we restart server or set
the parameter 
-Dorg.apache.tapestry.disable-caching=true.

both cases are not good for me.

I want to ask that can i access tapestry page pool and set some specific
page cleared from pool or at least set the whole pool cleared.

i need your help please i am waiting

thanks

bye.
-- 
View this message in context: 
http://www.nabble.com/Tapestry-Page-Pool-handling.-tp17424724p17424724.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]



focusElement not working with AjaxEventSubmit

2008-05-14 Thread zaxeer

Hi All,
I am facing a problem about i searched a lot but no success,
i have some AjaxEventSubmits for some html  elements in a ajax form
i am setting focus Element same  for ajax event submit but its not
working. here is some part of my code.

 if some one can tell me i will be thankful.



 


  
-- 
View this message in context: 
http://www.nabble.com/focusElement-not-working-with-AjaxEventSubmit-tp17225027p17225027.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]



Re: non-Session Object for From Submission

2007-10-30 Thread zaxeer

Hi devs,
thanks for your replies
i am already doing some thing like this in pageBeginRender

 
public void pageBeginRender(PageEvent event) {
 
if (event.getRequestCycle().isRewinding()) {
return;
}

if(getUSERINFO () == null){
setUSERINFO (new USERINFO("1","ABC","XYZ"));
}
}

but error:

"target is null for setProperty(null, "zip", null)"

remians  there if i persist USERINFO in session its OK, but i think in
normal JSP application we need not to persist Whole form content in session,
session just need to use for some long retainable info.

any idea from you will be helpfull for me.


-- 
View this message in context: 
http://www.nabble.com/non-Session-Object-for-From-Submission-tf4712531.html#a13487603
Sent from the Tapestry - User mailing list archive at Nabble.com.


non-Session Object for From Submission

2007-10-29 Thread zaxeer

hi devs,

I have a from which contains some fields: Whole form is reterived by a bean
class say USERINFO if i persist this USERINFO getter setter in session,

 @Persist("session")
public abstract USERINFO getUSERINFO ();
public abstract void setUSERINFO (USERINFO USERINFO );

 it works ok. 

but if don't persist USERINFO in session , like this

public abstract USERINFO getUSERINFO ();
public abstract void setUSERINFO (USERINFO USERINFO );

on submitting form (@tacos:AjaxForm) the error occurs like 

"target is null for setProperty(null, "zip", 2)"

 (which is USERINFO.zip) i think main class object set to null on
submitting.

plz help me 
-- 
View this message in context: 
http://www.nabble.com/non-Session-Object-for-From-Submission-tf4712531.html#a13470271
Sent from the Tapestry - User mailing list archive at Nabble.com.


Component Parameter value Problem

2007-09-24 Thread zaxeer

Hi, 
Every One

I am facing a problem relted to component parameter values.

I have a page which will contain components , these compnents will be
desided by a List of String from the page: If i give a code it will be like
this:
::
:::Page.java::

public abstract List getStringList();
public abstract void setStringList(List stringList);

public abstract String getString();

public void pageBeginRender(PageEvent event) {
  setStringList(getABCList());
}

:::
:::Page.html::

  


  

  



the problem i am facing is that the "string" parameter is property of parent
page.java is set in rendering of page.html dynamically when i try to get
in pageBeginRender of components its value is null, but in components HTML
its avaiable.
If i call setter of String in pageBeginRender of Page.java  all components
received its value set at that time.

So i could not get a dynamic value of parameter set at rendering time by
some list or any other thing.
how to do this.

Sorry for my english...
I am also new to tapestry and i search in documentation too but i could'nt
find any help or i could'nt understand this problem..

plz answer me
-- 
View this message in context: 
http://www.nabble.com/Component-Parameter-value-Problem-tf4507815.html#a12855997
Sent from the Tapestry - User mailing list archive at Nabble.com.


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