Login Register

struts2

fadeOut doesn't work

I can't use dojo fadeOut.
Please, see my html:

Hide me!

Please, see my js:

function fadeOutDiv(){
        alert("fadeOutDiv()");
                //dojo.fadeOut({ //no func
                //dojo.style.getOpacity problem no function
        var div = dojo.byId("fadeOutDivId");
        div.style.opacity = 1;
        alert("Opacity 1 = " + div.style.opacity);
        alert("id 1 = " + div.id);
        dojo.lfx.html.fadeOut({
                node: dojo.byId("fadeOutDivId").domNode,
                duration: 2000
                }).play();
}

Struts dojo anchor (<s:a/>), can't understand howto use notifyTopics

Hi, maybe this is not right place to ask such question, but I don't know where is it possible to do it. I've googled yesterday all day long, I didn't find anything

The problem is:
I'm using sturts2 and ajax-tag (dojo anchor),
it sends asynchronous request to actions,
gets json as response and updates specified document element content.

The problem is:
After getting response from server I need eval() json result (I did it), update html element nad perform easy animation procedure (fadein element and then delete it).
Please, see my struts2 code:

Seeking DOJO wizard for Struts2 system (Montreal or Toronto)

We are looking for a programmer with a good command of Dojo, who would be interested in helping a small team on an hourly basis, for specific consultation and/or actual programming of bits of code. This would require only a few hours a week, occasionally. Knowledge of the Ajax(Dojo) plugin for Struts2 would be a plus.

You must be either in Toronto or Montreal. You can work from home.

We would offer $20 per hour.

Please reply to:
p i e r d e u x /AT/ g m a i l /DOT/ c o m

struts2 : Problem with events in autocompleter

I am using struts2 autocomplete tag

<s:iterator value="orderFormList" status="count">
               <s:autocompleter forceValidOption="true" autoComplete="false" listKey="id" maxLength="6"
                    id="orderFormMemberList${count.index}" keyName="orderFormMemberIdList[${count.index}]"
                    name="orderFormMemberNameList[${count.index}]" theme="simple" list="portraitClassMemberList"
                    onchange="changeForm()">
               </s:autocompleter>
           </s:iterator>

struts2 : Problem with events in autocompleter

I am using struts2 autocomplete tag

Syndicate content