Bugs item #1338422, was opened at 2005-10-26 09:11
Message generated for change (Comment added) made by migueljmol
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1338422&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Applet
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Miguel (migueljmol)
Summary: have default values for (required) parameters

Initial Comment:
The applet requires some parameters, this is not always 
very useful please provide default values

if we do this, we dont have to worry about missing 
params...

    public String getParameter(String paramName)
    {
        String val = super.getParameter(paramName);
        if ("progressbar".equals(paramName) && val == 
null) val = "true";
        if ("progresscolor".equals(paramName) && val == 
null) val = "blue";
        if ("boxmessage".equals(paramName) && val 
== null) val = "...";
        if ("boxbgcolor".equals(paramName) && val 
== null) val = "black";
        if ("boxfgcolor".equals(paramName) && val 
== null) val = "white";
        return val;
    }


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

>Comment By: Miguel (migueljmol)
Date: 2005-11-28 10:51

Message:
Logged In: YES 
user_id=1050060

These are parameters that are part of the HTML code. The
JmolApplet cannot supply params that should be part of your
.html page. 

Use the Jmol.js JavaScript library and your problems will go
away. 


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1338422&group_id=23629


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to