Rank: Member
Groups: Member
Joined: 2/6/2012(UTC) Posts: 27
Thanks: 1 times
|
Would be nice to see this supported in the activeX/Java product. If anything, at least not throwing a Fatal Error using getType. Yes, I can wrap it in a conditional.....
|
|
|
|
Rank: Advanced Member
Groups: Joined: 12/19/2012(UTC) Posts: 164
Was thanked: 8 time(s) in 8 post(s)
|
Hello jmarcv,
ActiveX/Java Uploader has not these methods.
Please tell me about your problem. I think about the solution of your problem. Maybe you do not need getType() and setType() methods and there is a possible to solve your problem in a different way.
Best regards, Vitaly Kustov |
Best regards, Vitaly Kustov Aurigma Technical Support
|
|
|
|
Rank: Member
Groups: Member
Joined: 2/6/2012(UTC) Posts: 27
Thanks: 1 times
|
My problem is, that I use the same codebase for html5Flash as I do for activeX/Java and it is frustrating that the object properties and the javascript namespace has to be DIFFERENT syntax.
Originally this was a request for etType setType to be supported ALSO in the activeX product. A feature request.
|
|
|
|
Rank: Advanced Member
Groups: Joined: 12/19/2012(UTC) Posts: 164
Was thanked: 8 time(s) in 8 post(s)
|
Hi jmarcv, Thanks for explanations. Now I have understood the problem. The Type property exists in JavaScript API of both ActiveX/Java and HTML5/Flash however for some reasons we did not add this property to PHP wrapper library of ActiveX/Java. I reported it to our dev team and we will probably fix it in future updates. Meanwhile you can use JavaScript API to access the Type property like this: Code:
<html>
<script>
function preRender(){
alert($au.uploader("Uploader1").type());
}
</script>
<?php
$uploader = new Uploader("Uploader1");
$uploader->getClientEvents()->setPreRender("preRender");
$uploader->render();
?>
</html>
Best regards, Vitaly Kustov |
Best regards, Vitaly Kustov Aurigma Technical Support
|
|
|
|
Rank: Member
Groups: Member
Joined: 2/6/2012(UTC) Posts: 27
Thanks: 1 times
|
Ahhh! .type() I was looking for this. it actually SHOWS what was rendered when the php version only shows what was set. Useless, because I already KNOW what I set it to. Thanks. This is MUCH better.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.