[Bug 658] New: renderSkin cannot receive a HopObject as param any longer.

View: New views
2 Messages — Rating Filter:   Alert me  

[Bug 658] New: renderSkin cannot receive a HopObject as param any longer.

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=658

           Summary: renderSkin cannot receive a HopObject as param any
                    longer.
           Product: Helma
           Version: CVS trunk
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Web Support
        AssignedTo: helma-dev@...
        ReportedBy: lists@...


I just realised that a recent update to the latest Helma 1.x from SVN has
broken some of my older apps that relied on HopObjects being passed as params
to renderSkin. This seems to have stopped working. I have not looked into the
cause but changed the app instead, since it was urgent. But to avoid other such
problems I think this should be fixed.

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

[Bug 658] renderSkin cannot receive a HopObject as param any longer.

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=658


Hannes Wallnoefer <hannes@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hannes@...




--- Comment #1 from Hannes Wallnoefer <hannes@...>  2009-04-03 18:56:03 ---
It works for me:

----------- test.js:
function test_skinparam_action() {
  var h = new HopObject();
  h.name = "Foo";
  this.renderSkin("test", h);
}

----------- test.skin:
hallo <% param.name %>!

Can you provide an example where it doesn't work?

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev