R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
Actions not working w/ Message VariableType
Last Post 01 Jan 1900 05:00 AM by . 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
schafer_bradUser is Offline
New Member
New Member
Posts:14

--
30 Jun 2006 08:13 PM  
Kev,

Got another one for you:

When using the ACTIONS syntax, any use of the Message VariableType seems to jack up the javascript for the post back..

I have tried putting it 1st in the list, and last.. either way some of the data is not making it into the javascript post...

Here is the syntax I am using:

<a {ACTIONS,"Done",Done,Message,"Sent",state[ModuleID],Session} />Send</a>

This fires the message but doesn't set the session.

I am trying to set a Session State and then trigger a message. The reason this is important is the Query is needing to read the Session to determine what 'page' to show.

this is the preferred manor i would like to use...

<a {ACTIONS,"Sent",state[ModuleID],Session,"Done",Done,Message} />Send</a>

However, the Message is never triggered...


I have even tried the ,, syntax used in the ACTION tag...

<a {ACTIONS,"Sent",state[ModuleID],Session,"Done",Done,,Message} />Send</a>

This doesn't work either...



Any assistance here would be great...
<center><b>Brad Schafer<br><br><br><img src="http://www.theschafergroup.com/Portals/0/Logo-New.jpg"><br><br><a href="http://www.thechafergroup.com" style="font-size:7px;"> Brand Building</a> , <a href="http://www.thechafergroup.com" style="font-size:7px;">Lead Generation</a>, <a href="http://www.thechafergroup.com" style="font-size:7px;">Web Design</a></center>
kevinmschreinerUser is Offline
Advanced Member
Advanced Member
Posts:729

--
10 Jul 2006 06:10 PM  
I'll have to take a look at the ACTIONS syntax to verify. However, the problem here is most likely the missing tabid. The action format is Name,Value,TABID,Type so you would have no TABID but a empty value separating the Value and Type. ACTIONS is similar to this, except the final parameter of ACTIONS is the TABID. So - in your case you will want to assign your Session values, then raise the message like this:

<a {ACTIONS,"Sent",state[ModuleID],Session,"Done",Done,Message,} />Send</a>
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share