about hiper lnk used in html

14 views
Skip to first unread message

bellammal...@gmail.com

unread,
Feb 28, 2014, 8:32:24 AM2/28/14
to open...@googlegroups.com
Hi Team,

1.Everywhere we are using like bellow line.and in that we used "sas" where do we used this ?Can you explain about this..

href="$r.commandURI("sas")"

2. I am adding some Feedback form after completing Assesment with new Window.can i suggession on this too??

Its great hetlpfull for me!

Thanks!
Mallikarjuna

Florian Gnägi

unread,
Mar 4, 2014, 2:52:32 AM3/4/14
to open...@googlegroups.com
Hi 

Sorry, I can’t help you. Your question is really cryptic, can you please rephrase it a bit so we can understand what your question is?

With $r.commandURI("sas”) you create an event URL that can be dispatched in your java controller. The event is sent from the VelocityContainer where you have this command in the html markup. Note that this should be used carefully. There are only rare situations where this is really needed. If you build your own links like this make sure you also set the client to the busy state to not loose client clicks. 

Normally you should rather use the Link component instead of building your own links with the velocity commandURI. When you use links components, the security check is done when creating the links component, so it will be impossible to trigger a command without the appropriate rights (because there is no component at runtime that will dispatch that command). By using the velocity commandURI you have to take care about this yourself and check for security at dispatching time. 

Best advice is to fire up your debugger and step though the code to learn how everyhing works...

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org
 
---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT and OLATpro
 hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------

frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland

skype:gnaegi  twitter:gnaegi  xing:Florian_Gnaegi 
--------------------------------------------------------------------















Reply all
Reply to author
Forward
0 new messages