Cool! thanks for sharing the solution :)
On Fri, Aug 21, 2009 at 4:45 PM, Eugene Zhulkov wrote:
>
> Thx for reply
>
> Yes - the easiest but the worst decision... What if the form contains 1000
> lines of tml code? Copy&Paste and support 2 identical blocks? :) No :)
>
> I've solved this problem wit
Thx for reply
Yes - the easiest but the worst decision... What if the form contains 1000
lines of tml code? Copy&Paste and support 2 identical blocks? :) No :)
I've solved this problem with Java code in component:
public void afterRender() {
if(needZoneSupport){
Link link = resources.createF
Hmm in the works case u can create 2 blocks. What containing the form
with the zone and another without the zone. the delegate method would
take care of which block to render.
On Fri, Aug 21, 2009 at 1:57 PM, Eugene Zhulkov wrote:
>
> Thx for reply!
>
> But I need to totally remove attribute - not
Thx for reply!
But I need to totally remove attribute - not only change its value...
In some cases my form uses Zones in some cases does not. If I specify null -
it crashes :(
Juan E. Maya wrote:
>
> Good day for u tooo :)
>
> I think u could do something like this:
>
> in the template u spe
Good day for u tooo :)
I think u could do something like this:
in the template u specify the template using a "prop" prefix
in java i have
@Parameter(allowNull=true,defaultPrefx=defaultPrefix=BindingConstants.LITERAL)
@Property
private String zone;
have a nice day
On Fri, Aug 21, 2009 at 9:1
Good day!
Is there any way to dynamically change attributes set in some TML element?
Like XSLT element does
To be more presize - I have 1 component with element.
In some cases I want to add t:zone attribute or omit it.
Thank for responses!
--
View this message in context:
http://www.nabble