I'm sure calling setResponsePage with a new RedirectPage would work equally
well.
Uwe Schäfer-2 wrote:
doesn´t this work there?
class SomethingPage extends WebPage { // mounted accordingly
public SomethingPage (){
setResponsePage(new RedirectPage(http://othersite.com;));
}}
cu uwe
I feel dumb for even asking this, as there's got to be an easy way, but my
brain is blocked today...
I need a URL on my site, say http://mysite.com/something to redirect to
another site entirely, say http://othersite.com. Is there some
IRequestTargetUrlCodingStrategy that will do this? Or am I
or IIS
-
to do it there.
Hope this helps.
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Oct 10, 2008 at 11:54 AM, Igor Vaynberg
[EMAIL PROTECTED]wrote:
externallink?
-igor
On Fri, Oct 10, 2008 at 9:51 AM, Zach Cox [EMAIL PROTECTED] wrote:
I feel dumb for even
I need the browser to actually redirect the user to http://othersite.com if
they go to http://mysite.com/something, regardless of if they click a link
or type it into the address bar.
igor.vaynberg wrote:
externallink?
-igor
On Fri, Oct 10, 2008 at 9:51 AM, Zach Cox [EMAIL PROTECTED
This seems to work:
public class SomethingPage extends RedirectPage
{
public SomethingPage()
{
super(http://othersite.com;);
}
}
MyApplication.init():
mountBookmarkablePage(something, SomethingPage.class);
Thanks for all the replies! Wicket community rulz.
--
View this
I have a WebPage that takes the ID of an object in the database in the
URL, extracts it from PageParameters, and displays information related
to that object. I'm also using wicketstuff-rome to create an RSS feed
for information related to that object, so I'll have the autodiscovery
link in the
head through a brick wall.
That is definitely an area that could use some simplification refinement
in a future release.
Thanks,
Zach
Ryan Sonnek-2 wrote:
see responses inline:
On Mon, Apr 21, 2008 at 1:07 PM, Zach Cox [EMAIL PROTECTED] wrote:
I would like to have URLs for this feed
We have a large form that contains two FileUploadFields along with
many other text fields. If validation fails on one of those other
text fields, the form is re-rendered along with feedback messages.
When the form is re-rendered, the file path name that the user
specified for the
I'm using the wicket-contrib-tinymce package and need to configure
some of the settings that go into the init JavaScript:
tinyMCE.init({
//settings from TinyMCESettings.toJavaScript are put here
});
Specifically I need to set the content_css setting to get the same
styles in the editor as on
In the latest early access version of Wicket in Action, page 202, it
gives this as the markup that FeedbackPanel produces:
ul class=feedbackPanel
li class=feedbackPanelERROR
span class=feedbackPanelERRORField 'name' is required./span
/li
/ul
However, in real usage the ul element has
') GUnload();
-igor
On Sat, Mar 29, 2008 at 10:51 AM, Zach Cox [EMAIL PROTECTED] wrote:
I'm using markup inheritance to reuse a base page template for all
pages on my site. Some of these pages include Google Maps. According
to best practices, the body element of the page needs
I've been running our app in development mode for quite a while now
and noticed that Wicket likes to append digits to the end of id
attributes specified in the html templates. I just switched to
deployment mode and now Wicket is completely changing the id
attributes. I'm using Prototype to do
to control the id for, or
get the id with getmarkupid() and pass that to js code.
-igor
On Sat, Mar 22, 2008 at 5:13 PM, Zach Cox [EMAIL PROTECTED] wrote:
I've been running our app in development mode for quite a while now
and noticed that Wicket likes to append digits to the end of id
In our application we have three basic pages:
- search page
- results page
- details page
Search page has a form with all of the search criteria. On submit,
the search is saved to the database and response page is set to the
results page, with the ID of the search as a page parameter.
The
We're creating a web app using Wicket and would like to expose several
simple features via a RESTful web service. So basically, several URLs
would return XML or JSON formatted data instead of HTML.
Is there an easy way to do this in Wicket to provide a very simple web
service, or should we just
15 matches
Mail list logo