Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

Parameters

Answered
Not marked as answered yet

Forums  >  Community edition  >  Parameters


Author Parameters
kanduvisla


Posts: 16

Posted: 26-03-2010 15:29

Is there a documentation of which parameters are available?

For instance: ${presentationcontext.pageVersion.publicationDate} shows the publicationdata, but which parameters shows that lastmodified-date? Or which other parameters are there available for the pageVersion-object? or the presentationcontext-object?

Also, I used the ${website.title}, ${title} and ${website.staticFilesUrl} from the documentation (GDX0051), but thies fields are all left empty!

lutzenl



Posts: 17

Posted: 26-03-2010 16:52

Just look up the presentationcontext and pageversion interface in the javadoc provided:
http://connect.gxsoftware.com/api/webmanager/javadoc/

On page 19 in (GDX0051), you see what conventions are applied on accessing the presentationcontext interface methods in WM from your JSP.

In answer to your second question. Have you performed all sub steps on the third step correctly? Especially the following sub step (page 11):

From the page.jsp file, copy the first ±56 lines, until the line that starts with...

williamb



Posts: 310

Posted: 29-03-2010 10:36 Solved

To give you a little more insight on the second question:

The most important point to know is that the 'top object' is presentationcontext. This is the object that GX WebManager gives you, so you can use the API.

So ${website....} won't work without ever declaring <c:set var="website" value="${presentationcontext.website}" ></c>

kanduvisla


Posts: 16

Posted: 29-03-2010 16:12

That was what I was doing wrong!

It works now

Back to top

New message: "Parameters"
Message:
bold boitalicd underline url quote code smile cool eek grin mad razz sad wink
 
© 2012 GX Software B.V.

Disclaimer

This website (Connect.gxsoftware.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.