Is there way to dyanmically set component proeprties?


in 1 of component making external service calls , populate component's properties data received service call. how can it?

 

i tried using currentnode.setproperty("mypropname", "myservicedata") but did not work.

 

also when including text components in script there way populate text property of text component default value?

 

mycomponent.jsp

-----------------------

. . .

<cq:include path="text1" resourcetype="foundation/components/text"/> <%-- how pre-populate component value "my text 1" --%>

<cq:include path="text2" resourcetype="foundation/components/text"/><%-- how pre-populate component value "additional text 2" --%>

. . .

 

has done this?

i don't think there way initialize in tag self. logic should go in component self. nice have feature, provided know exact property name used in component.

 

yogesh

www.wemblog.com



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached