From: Edgar K. <edg...@gm...> - 2009-02-19 23:33:04
|
On 19-Feb-09, at 12:35 PM, Mike Schrag wrote: > <wo:link href = "$methodReturningUrl> > you're missing a closing quote here ... maybe this is contributing to > the problem? obviously need to enhance the validator ... I'm sorry for the typo but the syntax is ok, I didn't copy and paste the code but wrote it in Mail, so my validation is not as good as yours ;) I'll try to investigate it more b/c it's very strange. I also have mixing code and I never had problems before :/. cheers, edgar > On Feb 19, 2009, at 2:05 PM, Edgar Klein wrote: > >> Hi, >> >> today I had a very strange behaviour. In a component I had the >> following code: >> >> HTML file >> ========= >> >> <wo:if condition = "$methodReturningCondition" negate="$true"> >> <webobject name = "AHyperlink"> >> <webobject name = "AnImageButton" /> >> </webobject> >> </wo:if> >> <wo:if condition = "$methodReturningCondition"> >> <wo:link href = "$methodReturningUrl> >> <webobject name = "AnImageButton" /> >> </wo:link> >> </wo:if> >> >> WOD file >> ======== >> AHyperlink : WOHyperlink { >> action = methodReturningAWOComponent; >> } >> >> AnImageButton : WOImageButton { >> action = methodReturningAWOComponent; >> src = "<source of button>"; >> } >> >> >> When methodReturningCondition returned false, both WOImageButtons >> appeared but the one which should have been hidden wasn't surrounded >> by a hyperlink. >> >> I'm wondering whether it's a problem nesting WOD style components >> into >> inline style? >> >> Thank you and cheers, >> edgar >> >> P.S.: I'm using WO 5.4.3, Eclipse 3.4.1 and about the latest versions >> of WOnder and WOLips. >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San >> Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source >> code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> Wonder-disc mailing list >> Won...@li... >> https://lists.sourceforge.net/lists/listinfo/wonder-disc > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Wonder-disc mailing list > Won...@li... > https://lists.sourceforge.net/lists/listinfo/wonder-disc |