Hello folks.

Time for me to use the knowledge of the community again. Some background to enlighten my problem:

In a form I have a textarea and a few buttons (cancel, reload, update and preview). Upon creation I load into the textarea some html that is stored in the database.
The html is used as a template for creating emails. Eg:
<html>
<body>
Dear 'customername'.

bla bla
</body>
</html>

To the preview button is actually a BookmarkablePageLink created as suggested in the Linkomatic example (except that I have PageParameters as well) and it opens a popup.

PageParameters pp = new PageParameters();
pp.add("content", txtArea.getModelObjectAsString());
PopupSettings popupSettings = new PopupSettings(PageMap.forName("popuppagemap")).setHeight(500).setWidth(500); add(new BookmarkablePageLink("popupButtonLink", Popup.class, pp).setPopupSettings(popupSettings));

Now, the problem is that the PageParameter is added at creation time, hence no matter what changes are made in the text area, I can not pass it to the Popup so that I can view the changes.

How can I make this happen?

Sorry if this is a stupid question, but bare with me, I'm just a newbie. Also, let me know if you need clarification.

TIA,
Jörgen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to