Hi Martin,
here's the Ticket https://issues.apache.org/jira/browse/WICKET-6419
Thank you!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Localization-of-PageParameters-tp4678221p4678229.html
Sent from the Users forum mailing list archive at Nabble.com
, 2017 at 1:41 PM, Ravi <ravi.k...@intellinet.de> wrote:
> Hi guys,
>
> we stumbled on a behavior and I'm not sure why it is implemented as it is
> ;)
>
> It concerns the reading of PageParameters. They all use the StringValue
> constructor without passing the Sessio
Hi guys,
we stumbled on a behavior and I'm not sure why it is implemented as it is ;)
It concerns the reading of PageParameters. They all use the StringValue
constructor without passing the Session locale.
The StringValue will in turn use the systems locale.
So when I retrieve a _en formatted
and that works as
well.
The best thing is that I also have a dedicated onLinkClicked() method.
Thanks a lot!
Ravi
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Use-Page-from-Pagestore-even-if-PageParameters-have-changed-tp4676971p4676980.html
Sent from the Users forum mailing
.1842946.n4.nabble.com/Use-Page-from-Pagestore-even-if-PageParameters-have-changed-tp4676971p4676980.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
Hi Sven,
thank your for your quick reply. I'll try your LinkListener suggestion.
-Ravi
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Use-Page-from-Pagestore-even-if-PageParameters-have-changed-tp4676971p4676975.html
Sent from the Users forum mailing list archive
Hi Ravi,
you should pass a different URL to your payment partner:
Put a Link on your page and use its URL.
Or even better, let your page implement ILinkListener and use that URL:
this.urlFor(ILinkListener.INTERFACE, new PageParameters());
Have fun
Sven
On 02.02.2017 11:32, Ravi
of
problems, or are there any drawbacks to this approach?
Thanks for your time,
Ravi
Ticket-4441 https://issues.apache.org/jira/browse/WICKET-4441.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Use-Page-from-Pagestore-even-if-PageParameters-have-changed-tp4676971.ht
witter.com/mtgrigorov
On Wed, Nov 18, 2015 at 3:49 PM, Sebastien <seb...@gmail.com> wrote:
> Hi,
>
> I have a little concerns about PageParameters and mounted pages.
>
> On a first case - mypage?param=myvalue - I can retrieve param from both
> page-parameters a
e.
>
> You can also make use
> of
> org.apache.wicket.request.cycle.PageRequestHandlerTracker#getFirstHandler()
> to skip the resolution of the IRequestMapper.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Wed, Nov 18, 2015 at
Hi,
I have a little concerns about PageParameters and mounted pages.
On a first case - mypage?param=myvalue - I can retrieve param from both
page-parameters and from Request#getQueryParameters()
On a second case - mypage/myvalue (with a mounted page /mypage/${param}) -
I am able to retrieve
page. Prior to upgrading to 1.5, the code below worked to read them, but
now these specific parameters are null.
public TrackDataReadClass (PageParameters params) {
String dataitems = params.get(dataitems).toString();
String dataStripe1 = params.get(dataitem0).toString
these specific
parameters are null.
public TrackDataReadClass (PageParameters params) {
String dataitems = params.get(dataitems).toString();
String dataStripe1 = params.get(dataitem0).toString();
String dataStripe2 = params.get(dataitem1).toString();
etc... }
I've
RedirectToUrlException:
On the onSubmit(), I then called setResponsePage(new RedirectPage(
external url ) );
I hope this helps.
Regards,
Lucas
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Submitlink-PageParameters-tp4670454p4670464.html
Sent from
this helps.
Regards,
Lucas
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Submitlink-PageParameters-tp4670454p4670464.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e
Hi all,
would it be possible when having a submit link and a form+post, to nevertheless
transfer the page parameters in the url? Something like
action=„…?parameter=value
Thanks, Chris
-
To unsubscribe, e-mail:
Hi,
I'm currently migrating a fairly large project from wicket 1.4 to wicket 6.
We're currently getting the PageParameters from the RequestCycle
via getRequestCycle().getPageParameters(), with wicket 6 this is no longer
possible. Getting the PageParameters via getPage().getPageParameters
currently getting the PageParameters from the RequestCycle
via getRequestCycle().getPageParameters(), with wicket 6 this is no longer
possible. Getting the PageParameters via getPage().getPageParameters() is a
viable option but I'm not quite sure if this is the way to go. Another way
of getting
and Consulting
https://twitter.com/mtgrigorov
On Thu, Mar 12, 2015 at 6:20 PM, David Kaufman david.kauf...@gmx.de wrote:
Hi,
I'm currently migrating a fairly large project from wicket 1.4 to wicket 6.
We're currently getting the PageParameters from the RequestCycle
via getRequestCycle
today: When an instance
of a WebPage is created with some url parameters, the PageParameters object
is never updated, that is, if I refresh the same webpage with different url
parameters this won't be taken into account, instead the first params used
to create the WebPage are used. Is there a way
Hello, I've got a problem that I've just noticed today: When an instance
of a WebPage is created with some url parameters, the PageParameters
object is never updated, that is, if I refresh the same webpage with
different url parameters this won't be taken into account, instead the
first params
Grigorov
Wicket Training and Consulting
On Wed, May 21, 2014 at 9:41 PM, Edgar Merino donvo...@gmail.com wrote:
Hello, I've got a problem that I've just noticed today: When an instance
of a WebPage is created with some url parameters, the PageParameters object
is never updated, that is, if I refresh
Request to the delegate (i.e. the old request mapper).
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PageParameters-are-not-extracted-correctly-from-an-Encoded-URL-tp4665836.html
Sent from the Users forum mailing list archive at Nabble.com
this? One solution would be to have
tinymce not encoding the URL, but is there any other way to have, for
example, the URL decoded prior to being handled by the ResourceMapper?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PageParameters-are-not-extracted-correctly-from
this message in context:
http://apache-wicket.1842946.n4.nabble.com/Iterating-through-the-Pageparameters-tp4664093.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
-the-Pageparameters-tp4664093.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
entry : parameters.entrySet()) {}
but in wicket 6.13 this is not possible. how can this be achieved.
Thanks in advance.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Iterating-through-the-Pageparameters-tp4664093.html
Sent from the Users forum mailing
?
I've seen the tester use the page parameter constructor and pass it a
reference to an empty PageParameters when I invoke
tester.startPage(MyPage.class, null).
Btw, I just noticed that adding this constructor eliminates the problem:
public MyPage() {
this(null);
}
So I take it Wicket tries to build the page via the Page(PageParameters)
but instead of using a null reference to the PageParameters it builds an
object without any parameters
AFAIR if there are no request parameters then Wicket first uses the Java
default constructor (no parameters) if available.
If there is no such constructor then Wicket constructs an empty
PageParameters and uses it for the constructor with PageParameters.
If none are available then an error
. That scared me a bit.
ie: I have
customConstructors = new HashMapClass? extends AdminPage,
PageParameters();
customConstructors.put(PageA.class, new PageParameters().set(pageID,
-1));
customConstructors.put(PageB.class, new PageParameters().set(sessionID,
-2));
and then later when running the test
instance used had the
parameters combined from different instances. That scared me a bit.
ie: I have
customConstructors = new HashMapClass? extends AdminPage,
PageParameters();
customConstructors.put(PageA.class, new PageParameters().set(pageID,
-1));
customConstructors.put(PageB.class, new
/1 and a redirect will be made to
/req/post/1?pageId only if the page is stateful.
On Sat, Dec 8, 2012 at 2:32 PM, Kurt Sys kurt@gmail.com wrote:
Hey, I'm having some issues with pageparameters. I'm upgrading from wicket
1.4.x to 1.6.x. Most is done, however, I can't get pageparameters
Hey Martin,
It's not about 'nice urls' as such, but with the Link-component, the
page doesn't redirect to /req/post/1. The redirection worked fine in
1.4.x, but in 1.6.x, it didn't work anymore. Dunno exactly why, but
all the links redirected to /post/62, not using/reading the
PageParameters
Hey, I'm having some issues with pageparameters. I'm upgrading from wicket
1.4.x to 1.6.x. Most is done, however, I can't get pageparameters to work
properly.
-- MainApp defines how I mount the pages, i.e. with two optional parameters
(type and id):
-- HomePage.java is nothing special but just
.
Thanks in advance!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-To-Pass-Objects-through-PageParameters-in-Wicket-1-5-tp4652830.html
Sent from the Users forum mailing list archive at Nabble.com
not be accurate.
Thanks
Venkat
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-To-Pass-Objects-through-PageParameters-in-Wicket-1-5-tp4652830p4652870.html
Sent from the Users forum mailing list archive at Nabble.com
of the crux in this case is my parent window is in side a tabbed panel,
I doubt this might be forcing it to fail to set up.
I would appreciate a quick response.
Thanks in advance!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-To-Pass-Objects-through-PageParameters
Hi,
On Tue, Sep 18, 2012 at 5:09 AM, Ondrej Zizka ozi...@redhat.com wrote:
Hi,
I found myself repeatedly creating a PageParameters object from some
domain object for BookmarkablePageLink just to have it then parsed
back to that same domain object.
Example:
Release rel { product
java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
public class PageParametersTest {
@Test
public void testPageParameters() {
// toPageParameters
MyBean bean = new MyBean(foo, bar);
final PageParameters pageParameters = toPageParameters(bean
() );
}
}
if you don't want to serialize release object,you can just serialize
it's key and retrieve release object from it
On Tue, Sep 18, 2012 at 7:39 AM, Ondrej Zizka ozi...@redhat.com wrote:
Hi,
I found myself repeatedly creating a PageParameters object from some
domain object
Hi,
I found myself repeatedly creating a PageParameters object from some
domain object for BookmarkablePageLink just to have it then parsed
back to that same domain object.
Example:
Release rel { product: AS; version: 7.1.2 }
=
add( new BookmarkablePageLink ( link, ReleasePage.class
Any idea ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-with-additionnal-pageParameters-tp4650631p4650645.html
Sent from the Users forum mailing list archive at Nabble.com
Subclass PagingNavigator and override new...Link()
Sven
chimaira death_style2...@hotmail.com schrieb:
Any idea ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-with-additionnal-pageParameters-tp4650631p4650645.html
Sent from the Users forum
Hi , thanks for replay,
I tried it, but the overriden methods return a usual links. with no
pageparameters attribut.
@Override
protected AbstractLink newPagingNavigationLink(String id,
IPageable pageable, int pageNumber) {
return super.newPagingNavigationLink(id
Google for wicket bookmarkable paging navigator
Sven
chimaira death_style2...@hotmail.com schrieb:
Hi , thanks for replay,
I tried it, but the overriden methods return a usual links. with no
pageparameters attribut.
@Override
protected AbstractLink newPagingNavigationLink(String id
.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-with-additionnal-pageParameters-tp4650631.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
Hi,
I'm noticing a difference in the way search parameters are handled in 1.5.4 vs
1.5.3 after upgrading wicket. Basically, identical parameters are eliminated.
See example below
Passing the identical list of search parameters to our SearchResultsPage:
URL with 1.5.3:
) !liSVs.isEmpty())
...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PageParameters-in-1-5-a-sanity-check-request-tp4099136p4099136.html
Sent from the Users forum mailing list archive at Nabble.com
/PageParameters-in-1-5-a-sanity-check-request-tp4099136p4099136.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail
Hi
And you can even leave away the
if(params.getNamedKeys().contains(parameter_name))
and just do:
StringValue param = params.get(param); // or use an index if you wish
if (!param.isEmpty()) {
... param.toString() ...
}
Matt
On 2011-11-23 12:17, vineet semwal wrote:
ListStringValue
ha yes just checked out the source ,thanks :)
On Wed, Nov 23, 2011 at 5:46 PM, Matthias Keller
matthias.kel...@ergon.ch wrote:
Hi
And you can even leave away the
if(params.getNamedKeys().contains(parameter_name))
and just do:
StringValue param = params.get(param); // or use an index if
Thanks for your comments, Guys.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PageParameters-in-1-5-a-sanity-check-request-tp4099136p4099956.html
Sent from the Users forum mailing list archive at Nabble.com
.
For an AjaxLink using setResponsePage I thought the following would be
the thing to do:
Use onRequestHandlerExecuted to do the stuff at the end of the request.
There I look for an IPageRequestHandler and modify its PageParameters
using one of the following methods:
pageHandler.getPage
the stuff at the end of the request.
There I look for an IPageRequestHandler and modify its PageParameters
using one of the following methods:
pageHandler.getPage().getPageParameters().add(WeldMetaData.CONVERSATIONID,
conversation.getId());
pageHandler.getPageParameters().add
.
For an AjaxLink using setResponsePage I thought the following would be
the thing to do:
Use onRequestHandlerExecuted to do the stuff at the end of the request.
There I look for an IPageRequestHandler and modify its PageParameters
using one of the following methods:
pageHandler.getPage
PageParameters, which returns
all Parameters as Maplt;String,String[]gt; is gone, what to use instead?
Thanks
Marti
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Upgrade-1-5-PageParameters-toRequestParameters-tp3871781p3871781.html
Sent from the Users forum mailing
Hi,
sure I can, I just wanted to make sure, that I haven´t overseen
an already implemented solution.
Thank you Martin.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Upgrade-1-5-PageParameters-toRequestParameters-tp3871781p3874199.html
Sent from the Users forum
Hi,
in 1.5 the Method toRequestParameters in class PageParameters, which returns
all Parameters as Maplt;String,String[]gt; is gone, what to use instead?
Thanks
Marti
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Upgrade-1-5-PageParameters-toRequestParameters
with a given key. Is there a reason why the functionality to add
multiple parameters of the same key is taken out of BookmarkablePageLink?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/BookmarkablePageLink-PageParameters-tp3852163p3852163.html
Sent from the Users
Hi,
Is there any reasonable way to set PageParameters for home page. In wicket 1.4
it was possible to override WebRequestCycleProcessor's resolveHomePageTarget
method
and add RequestParameters for the request.
We do use this functionality because application has customizable home pages
per user
i dont really understand your question. homepage should be accessible
without parameters, but in any case
urlfor(homepage.class, pageparameters) should generate a correct url...
-igor
On Thu, Sep 15, 2011 at 9:06 AM, Mikko Pukki
mikko.pu...@syncrontech.com wrote:
Hi,
Is there any reasonable
mikko.pu...@syncrontech.com wrote:
Hi,
Is there any reasonable way to set PageParameters for home page. In wicket 1.4
it was possible to override WebRequestCycleProcessor's resolveHomePageTarget
method
and add RequestParameters for the request.
We do use this functionality because application has
I need to construct a page from a bean object. Ideally, I'd pass a custom
Object to
PageParameters params = new PageParameters();
params.add(bean, bean);
but it's not letting me do that... only Strings. Any suggestions? Thanks
--
View this message in context:
http://apache-wicket.1842946.n4
new MyPage(bean);
On Mon, Aug 29, 2011 at 5:01 PM, eugenebalt eugeneb...@yahoo.com wrote:
I need to construct a page from a bean object. Ideally, I'd pass a custom
Object to
PageParameters params = new PageParameters();
params.add(bean, bean);
but it's not letting me do that... only
Hello all,
I was in doubt whether this message should be sent to user or dev list
so following http://wicket.apache.org/help/email.html page
recommendation I'm sending it to user list.
Well, I was trying wicket-1.5-RC5.1 and I notice that PageParameters
class implements two new interfaces
it to user list.
Well, I was trying wicket-1.5-RC5.1 and I notice that PageParameters
class implements two new interfaces IIndexedParameters and
INamedParameters. What called my attention was that methods defined at
those interfaces are defined to return the implementation type
(PageParameters
whether this message should be sent to user or dev list
so following http://wicket.apache.org/help/email.html page
recommendation I'm sending it to user list.
Well, I was trying wicket-1.5-RC5.1 and I notice that PageParameters
class implements two new interfaces IIndexedParameters
is using a POST to send the parameters. The PageParameters arrive at the
page but are lost
when the call to Session.getClientInfo() is made. This would appear to
happen in the constructor for
the BrowserInfoPage but I'm not sure why. Any advice would be appreciated.
Thanks,
Steve
Wicket v1.4.10
Hello,
In my application all the pages are restricted using the
MetaDataRoleAuthorizationStrategy.
I want to give my user the ability to directly see the data from such a page
using pageParameters:
- http://www.mysite.com/page1.html?login=abcpass=123
- http://www.mysite.com/page2.html?login
Hi,
You can always get the PageParameters from the page itself (given you
received them in the constructor). In case you do not want to handle
this on a page-by-page basis, they are also available through the
RequestCycle (in wicket 1.4). You could check if the params contain
login and pass
Thanks for the answer, but I don't know how to get the PageParameters from
the RequestCycle in the LoginPage, therefore some more information:
- my application extends AuthenticatedWebApplication
- the init of my Page1 or Page2 is never called because user is not
authorized to see page (because
Hi Marieke,
you could try to read page parameters before redirecting to
interceptPage and build an instance of this page passing these
parameters. Something like:
//read parameters
...parameters = RequestCycle.get().getResquest().getQueryParameters() ;
//convert parameters to PageParameters
we tried this we can see that setResponsePage gets correct set
PageParameters, however on the page side the values are associated with keys
that should have been empty strings.
Example
MixedParamUrlCodingStrategy search = new MixedParamUrlCodingStrategy(
MyHttpParams.SEARCH
Thank you for the tip Martin.
Sorry to ask silly question, but where can I find API for 1.5-M3? I found
this
http://www.jarvana.com/jarvana/view/org/apache/wicket/wicket/1.5-M3/wicket-1.5-M3-javadoc.jar!/index.html
but
it is missing some classes like for example PageParameters. Or it is best
/apache/wicket/wicket/1.5-M3/wicket-1.5-M3-javadoc.jar!/index.html
but
it is missing some classes like for example PageParameters. Or it is best to
download source and build it from it?
Peter
On 5 May 2011 07:03, Martin Grigorov mgrigo...@apache.org wrote:
I can only suggest you to use Wicket
I downloaded RC3, but even after building API from source (mvn
javadoc:javadoc) when I open documentation in wicket-core/target/site/apidoc
there is no
package parameters inside org.apache.wicket.request.mapper and because of
that no PageParameters class documentation.
Any suggestions?
Peter
org.apache.wicket.request.mapper and because of
that no PageParameters class documentation.
Any suggestions?
Peter
On 5 May 2011 10:37, Martin Grigorov mgrigo...@apache.org wrote:
Download the jar from Maven repos.
Latest version is RC3, not M3.
On Thu, May 5, 2011 at 11:17 AM, Peter Miklosko peter.b
from source (mvn
javadoc:javadoc) when I open documentation in
wicket-core/target/site/apidoc
there is no
package parameters inside org.apache.wicket.request.mapper and because of
that no PageParameters class documentation.
Any suggestions?
Peter
On 5 May 2011 10:37, Martin
org.apache.wicket.request.mapper and because of
that no PageParameters class documentation.
Any suggestions?
Peter
On 5 May 2011 10:37, Martin Grigorov mgrigo...@apache.org wrote:
Download the jar from Maven repos.
Latest version is RC3, not M3.
On Thu, May 5, 2011 at 11:17 AM, Peter Miklosko
are not specified these will get empty string as value.
However when we tried this we can see that setResponsePage gets correct set
PageParameters, however on the page side the values are associated with keys
that should have been empty strings.
Example
MixedParamUrlCodingStrategy search = new
PageParameters, however on the page side the values are associated with keys
that should have been empty strings.
Example
MixedParamUrlCodingStrategy search = new MixedParamUrlCodingStrategy(
MyHttpParams.SEARCH,
SearchDestinationPage.class,
new String
Hello Pedro,
In my mind IRequestParameters and PageParameters should have stemmed from a
common interface, extend some even generic one like(IKeyValues, IParams) but
I trust you guys see the bigger picture maybe IRequestParameters is a very
generic thing that doesn't have to mean a page's
);
+ getBehaviorId(behavior);
but it breaks few test expectations and I haven't had time to see whether
this is harmful somehow.
On Tue, Apr 12, 2011 at 10:51 AM, Serban Balamaci serban.balam...@asf.rowrote:
Hello Pedro,
In my mind IRequestParameters and PageParameters should have
Hello everybody, I''m in the process of migrating an app from 1.4 to 1.5-RC3
I see that the PageParameters and IRequestParameters are pretty separate
things now. Any reason why it's done this way and why they not extend a
Common Interface that exposes methods like getParameterNames
IRequestParameters interface has PageParameters correspondent API to access
page parameters. Can be accessed like:
RequestCycle.get().getRequest().getQueryParameters()
If you want to recreate page parameters for some request, you can use the
PageParametersEncoder.
On Mon, Apr 11, 2011 at 12:06
Hello,
I have a form which calls the following statement in its onSubmit() method:
setResponsePage(new MyPage(pageParameters, extraParam1, extraParam2))
NOTE: The MyPage construtor calls WebPage constructor as
super(pageParameters) and then adds extraParam1 and extraParam2
the following statement in its onSubmit() method:
setResponsePage(new MyPage(pageParameters, extraParam1, extraParam2))
NOTE: The MyPage construtor calls WebPage constructor as
super(pageParameters) and then adds extraParam1 and extraParam2 to
WebPage.getPageParameters() map.
The end-result
Wicket only knows how to construct bookmarkable pages when they have
either a default constructor or a constructor taking *only*
pageparameters. Any other constructor is outside the realm of wicket's
capabilities and responsibility.
In your case, how could Wicket construct the page when
it goes to the login page and then back to the
info page but without the PageParameters. Therefore the url is incorrect- it
has ?wicket:interface=:1:1::: and then some of my data is missing because it
requires the PageParameters.
How can pass the PageParameters through?
Many thanks
Vishal
?
Without generic type it is the same problem.
I´m using 1.4.9.
I have the same problem if I don´t use PageParameters and
mount(/some/path, PackageName.forClass(Test1.class))
Thanks!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/mountBookmarkablePage
Hi all,
I'm confused... I'd like to setup authorization for a page, where the
authorization decision is based on the parameters passed to the page. For
example, http://blahblah/MyPage/?date=2010-10-06 would authorize correctly
(show the page), but previous dates would not.
Subclassing
Try with WebRequestCycle.get().getWebRequest().getParameters() or something
like that.
On Wed, Oct 6, 2010 at 2:53 PM, Peter Munro spelud...@gmail.com wrote:
Hi all,
I'm confused... I'd like to setup authorization for a page, where the
authorization decision is based on the parameters passed
Huge thanks to both Eike and Martin.
They both work, so I'm figuring out the best approach. I'll probably go with
Martin's.
BTW, for anyone googling the archive, either:
- WebRequestCycle.get().getPageParameters(), or
- WebRequestCycle.get().getRequest().getParameter(myparam)
will do the
:8080/home. Fine!
Now I have two pages Test1 and Test2. For both I´ve called
mountBookmarkablePage...
mountBookmarkablePage(/test1, Test1.class)
mountBookmarkablePage(/test2, Test2.class)
And I have two BookmarkablePageLink (one for each page) with PageParameters
on every Page...
add(new
Altuğ Bilgin Altıntaş wrote:
Also could you please try without Test1 just
add(new BookmarkablePageLink(testlink1, Test1.class, pp));
Which wicket version ?
Without generic type it is the same problem.
I´m using 1.4.9.
I have the same problem if I don´t use PageParameters
using 1.4.9.
I have the same problem if I don´t use PageParameters and
mount(/some/path, PackageName.forClass(Test1.class))
Thanks!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/mountBookmarkablePage-and-BookmarkablePageLink-with-PageParameters-tp2954926p2955651
.class)
And I have two BookmarkablePageLink (one for each page) with PageParameters
on every Page...
add(new BookmarkablePageLinkTest1(testlink1, Test1.class, pp));
add(new BookmarkablePageLinkTest2(testlink2, Test1.class, pp));
...where pp is test=hello.
If I´ve loaded the page with url
use the method
setResponsePage(Class, PageParameters)
Erik.
Op 06-07-10 16:24, Muro Copenhagen schreef:
Hi Erik,
I tried that with no luck...
How would i do this: setResponsePage(new DeliverySecure(deliveryInfo)), and
at the same time send pageparameters to the same page?
Best Regards
() {
this(new DeliveryInfo());
}
public DeliverySecure(DeliveryInfo deliveryInfo) {
...
}
This page is called to separete ways:
1 - setResponsePage(DeliverySecure.class, new PageParameters(secure=on));
2- setResponsePage(new DeliverySecure(deliveryInfo));
When i call
1 - 100 of 234 matches
Mail list logo