Use a reusemanager that manages the rawinput values.
public class FormComponentReuseManager implements Serializable {
private final Map> idMapRow = new
HashMap>();
/**
* @param
* @param
* @param rowId
* @param componentId
* @param newComponent
* @return FormComponent
*
Hi all,
For the moment I can add/remove a form component in RepeatingView on the
fly, but every time I add or remove a form component, the model values of
previous form component are lost. How can I keep them in RepeatingView?
Thanks,
Duy
I have filed https://issues.apache.org/jira/browse/WICKET-2973 with a patch,
which fixes the issue for me.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/refreshing-fragment-tp2286189p2315477.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
I can't get the outputstream from the BIRT code to give to the getBytes
method. Thanks though. I will see if I can render the BIRT report a
different way.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/BIRT-Wicket-Integration-tp2315184p2315458.html
Sent from the Wic
jsinai wrote:
>
> I have the same problem with refreshing fragments via ajax. The problem
> does not exist in 1.4.0 and earlier. It started in 1.4.1+, I believe.
>
I have downloaded the source for 1.4.9 and made the change below in
AjaxRequestTarget.java, which fixed the problem for me. The ch
Sylvia,
Isn't it enough to return PDF bytes on getData bellow?
return new ResourceState() {
@Override
public String getContentType() {
return "application/pdf";
}
Another good options is http://www.broadleafcommerce.org.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Proposal-HierarchicConverterLocator-an-IConverterLocator-that-adheres-to-the-class-hierarchy-tp2311126p2315426.html
Sent from the Wicket - User mailing list arc
Thanks Ernesto, I did see your article. I was unable to figure out how to get
the two options to work together. In the solution I currently have, it seems
to hijack the outputstream and doesn't give you a way to re-direct it to
your DisplayResource.
--
View this message in context:
http://apach
I have the same problem with refreshing fragments via ajax. The problem does
not exist in 1.4.0 and earlier. It started in 1.4.1+, I believe.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/refreshing-fragment-tp2286189p2315381.html
Sent from the Wicket - User mailing
Sylvia,
Maybe this link might be of some help: just combine what you have with
the approach described here...
https://cwiki.apache.org/confluence/display/WICKET/Displaying+content++(e.g.+PDF,+Excel,+Word)+in+an+IFRAME
Best,
Ernesto
On Thu, Aug 5, 2010 at 7:25 PM, sylvia wrote:
>
> I have a wi
I have a wicket web app that displays a BIRT report based mostly on the
information found here:
http://java.dzone.com/articles/integrating-birt-your-wicket
http://java.dzone.com/articles/integrating-birt-your-wicket
This works OK, but it sends the report to the OutputStream and takes the
user aw
On 08/05/2010 06:52 PM, Thomas Kappler wrote:
> On 08/05/10 17:36, H. Turgut Uyar wrote:
>
>> Since it's a database course I'm also planning to show examples of using
>> other backends like Berkeley DB, db4o, and Netmind Persistence.
>
> It would be very interesting if you make some of the docume
On 08/05/10 17:36, H. Turgut Uyar wrote:
Since it's a database course I'm also planning to show examples of using
other backends like Berkeley DB, db4o, and Netmind Persistence.
It would be very interesting if you make some of the documentation and
code for this public. There are not many exa
On 08/05/2010 06:18 PM, Nivedan Nadaraj wrote:
> As a beginer myself...I feel the language like java plays a lot. Learning
> the generics would be one aspect and a must. Next to understand a simple
> request response usecase.
>
> Usage of each, if not all controls. How to use them and get it worki
As a beginer myself...I feel the language like java plays a lot. Learning
the generics would be one aspect and a must. Next to understand a simple
request response usecase.
Usage of each, if not all controls. How to use them and get it working as
is.
How would i be able to generalise usage of suc
you can override the validator message in the page's property files.
validator messages are usually named after the class of the validator,
so to override the required message you would put
RequiredValidator=${label} is broken in your mypage.properties.
for the column headings, the columns take an
On Thu, Aug 5, 2010 at 10:54 AM, H. Turgut Uyar wrote:
> It seems to me that I have to explain a lot of complicated things to
> explain this to the students. They are 3rd year students who have taken
> only one OO course, and that's in C++.
>
> Thank you both for your concern and help
Definitely!
On 08/05/2010 05:41 PM, James Carman wrote:
> I would not promote this in any introductory material. Sometimes you have
> to walk before you can run.
>
> On Thu, Aug 5, 2010 at 10:27 AM, Martin Makundi <
> martin.maku...@koodaripalvelut.com> wrote:
>
>> Hi!
>>
>> Also use of compoundpropertymode
I agree the 'model' is a very powerful concept that needs to be
explained properly... However drawing on my own early experiences with
with java frameworks I can say that the reasoning for why model's are
valuable is difficult to understand until the principals of request
lifecycle have been fu
On 08/05/2010 05:13 PM, jcgarciam wrote:
>
> Hi, i did a quick walk thru the tutorial and something i think is missing
> and could help is to explain the concepts of Model and the difference
> between Static Model and Dynamic Model. I know it may complicate things for
> students and new comers to
I would not promote this in any introductory material. Sometimes you have
to walk before you can run.
On Thu, Aug 5, 2010 at 10:27 AM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Hi!
>
> Also use of compoundpropertymodel is confusing and misleading in a
> professional sense. In
Hi!
Also use of compoundpropertymodel is confusing and misleading in a
professional sense. In my opinnion it adds too much dependencies and
it is not so transparent. Instead you should promote usage of
bindgens, for example.
http://wicketinaction.com/2009/11/removing-fragile-string-expressions-fr
Hi, i did a quick walk thru the tutorial and something i think is missing
and could help is to explain the concepts of Model and the difference
between Static Model and Dynamic Model. I know it may complicate things for
students and new comers to wicket programming but i think it worth, (using
Pag
Hi
Thanks for the time guys. I built a toy app to simulate the issue. I found
that, I was using two CMP's. One at the top level ie the search form. THen
at the detail level I had another CMP wit the identical model.
So when I cancel out of details and clicked new, I
said...this.setModelObject(new
Hi,
Do not forget to use google before posting the question :)
http://wicketbyexample.com/wicket-ajax-confirmation-modal-window/
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/any-good-ideas-about-how-to-add-a-confirm-check-before-leaving-a-page-tp2314872p2314880.htm
Hi Joe, take a look at the ModalWindow component, it require the described
confirmation to exit the current page. As I remember, this is implemented
with javascript on the modal.js
On Thu, Aug 5, 2010 at 10:36 AM, Joe Hudson wrote:
> Hi, I'm wondering if anyone has had to tackle this before and m
Hi, I'm wondering if anyone has had to tackle this before and might have any
advice.
I'm working on an application that needs to do a confirm before leaving a page
if the use clicked on another link in the application. Does anyone have any
ideas about how this could be done? Thank you very mu
Hi,
I am a lecturer at the Istanbul Technical University, Computer
Engineering Department. One of the courses I teach is "Database
Management Systems" where the students develop a web application using
databases as their term project. Until a few years ago we used PHP but
then switched to Java in
Yes. I'd like to replace the default validator messages (such as "sdf is not
a valid Double") with my own messages, but only in this specific
application, so changing the defaults is not an option. Furthermore, I'd
like to change the names of the textfields once to be able to use il8n,
since the n
Try to move your table to separate Panel. This will work
public Component getLazyLoadComponent(String id)
{
return new YourPanel(id);
}
public YourPanel(String id)
{
super(id);
List> columns = new ArrayList>();
columns.add(new PropertyColumn(new Model("First Na
Iam sorry, after posting i found
https://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html#Wicketbehindafront-endproxy-Whythisdoesn%2527talwayswork
so i added
ProxyPassReverse http://matty.domain.de:8088/gui
ProxyPassReverseCookiePath /customer-A/matty-GUI /
to apache-config and it wo
Hi Folks,
iam actually using a simple login strategy:
getSecuritySettings().setAuthorizationStrategy(new IAuthorizationStrategy()
{
@Override
public boolean
isInstantiationAuthorized( Class
componentClass) {
32 matches
Mail list logo