You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by zaxeer <za...@gmail.com> on 2007/09/24 10:42:46 UTC

Component Parameter value Problem

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<String> getStringList();
public abstract void setStringList(List<String> 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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org