xpages - Read content from non xp:inputText field with ssjs -


Is there a way to read fields with SSJs created by client side javascript (no such XP: input Field, this is a simple HTML input field that is in notes-tags)? I know that I can send the price with Exagent, but I hope there is another great way. Some

thanks

You can access the value of

  paramValues.get (" fieldName ") in SSJS. ToString ();   

In Java, you can access parameters from the map of request parameter values:

  ExternalContext ec = FacesContext.getCurrentInstance (). GetExternalContext (); Maps & lt; String, string []> PMap = ec.getRequestParameterValuesMap ();    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -