Brix CMS has stopped development?

2013-06-15 Thread nhsoft.yhw
I am looking for a product based on wicket cms, I found brix cms is very
good, it can meet the customized development needs, but browse brix cms's
github code, I found brix cms project nearly two years no code updates,
upgrades, brix cms whether the project has stopped development?

Brix CMS Site : https://github.com/bricket/brix-cms


Thank you




-
my first wicket application: www.118114life.com
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Brix-CMS-has-stopped-development-tp4659520.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



Re: Brix CMS has stopped development?

2013-06-15 Thread Jeremy Thomerson
I think that Matej and Igor's company stopped using it, so they had no
reason to develop more on it.  Brian Topping also did some work on it and
tried to lead a second generation of development on it, but I think he too
was pulled in a different direction by $work.

It is a very nice project.  If you are interested in using it and adding
features / updating it, I'm sure that you could be added to the team, or
you could fork it and submit pull requests, etc.


On Sat, Jun 15, 2013 at 5:21 AM, nhsoft.yhw nhsoft@gmail.com wrote:

 I am looking for a product based on wicket cms, I found brix cms is very
 good, it can meet the customized development needs, but browse brix cms's
 github code, I found brix cms project nearly two years no code updates,
 upgrades, brix cms whether the project has stopped development?

 Brix CMS Site : https://github.com/bricket/brix-cms


 Thank you




 -
 my first wicket application: www.118114life.com
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Brix-CMS-has-stopped-development-tp4659520.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




-- 
Jeremy Thomerson
http://wickettraining.com
*Ask me about our plans for on-line training lessons.*


Re: user interface design: if any error, textbox channge to red ... ...

2013-06-15 Thread always_rick
Thanks a lot.

I will try it on weekend.





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/user-interface-design-if-any-error-textbox-channge-to-red-tp4659495p4659522.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



Re: Wicket mail and pdf

2013-06-15 Thread Piratenvisier

Hello Martin,

I succeeded including the mail functionality.
It has nothing to do with wicket.
The example helps you to send an email message with a link to wicket.
I succeeded in producung an Itext-Pdf Document and opening it by acrobat 
as a link.
I succeeded to produce a mail with an pdf document attachment produced 
by Itext
and then I tried to produce a pdfattachment of a wicket page by using 
ComponentRenderer.renderPage
and flyingsaucer and had the problem that the html-tag and the body-tag 
are missing



Am 13.06.2013 12:53, schrieb Martin Grigorov:

Hi,


On Thu, Jun 13, 2013 at 1:48 PM, Piratenvisier
hansheinrichbr...@yahoo.dewrote:


Martin thank you for your instantanious answers,

I tried the mailtemplate example changed resource.text to resource.pdf and
after some research concerning the error I got included
   IPackageResourceGuard packageResourceGuard =
getResourceSettings().**getPackageResourceGuard();
 if (packageResourceGuard instanceof
SecurePackageResourceGuard)
 {
 SecurePackageResourceGuard guard =
(SecurePackageResourceGuard)
packageResourceGuard;
 guard.addPattern(+*.pdf);
 }
in the init method of the Application.
I get the Document :
!DOCTYPE html
html

head
titleA template based on a page/title
/head

body
!-- The next is dynamically generated --
Hello,spanBraun/span

You receive this email because you are subscribed for our products.
We just released a new version of product X.

!-- This link is also dynamically generated --
Please download ita href=http://localhost:8080/**
mailtemplate/wicket/resource/**org.apache.wicket.examples.**
asemail.MailTemplate/resource.**pdfhttp://localhost:8080/mailtemplate/wicket/resource/org.apache.wicket.examples.asemail.MailTemplate/resource.pdf
here/a!

br/br/
Sincerely,
The Marketing team
/body

/html
and when I use the link I get the error:

Problem accessing /mailtemplate/wicket/resource/**
org.apache.wicket.examples.**asemail.MailTemplate/resource.**pdf. Reason:

 Unable to find resource


What is still wrong ?


I guess resource.pdf is not copied in target/classes/ folder by Maven.
Check that resource.pdf is next to MailTemplate.class





Am 11.06.2013 08:45, schrieb Martin Grigorov:


Hi,

At http://www.wicket-library.com/**wicket-examples-6.0.x/**
mailtemplate/?0http://www.wicket-library.com/wicket-examples-6.0.x/mailtemplate/?0you
can see an example of rendering the markup for a page, a panel and a
resource.
At 
http://markmail.org/message/**em4wqtsxhetu4skjhttp://markmail.org/message/em4wqtsxhetu4skjyou
 can see how to create
PDF out of the produced HTML.


On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
hansheinrichbr...@yahoo.de**wrote:

  Does anybody know some example example code to start with

concerning email and pdf

Thanks in advance
Heiner Braun
Am 10.06.2013 10:34, schrieb Martin Grigorov:

  Hi,

If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/flyingsaucerproject/flyingsaucerhttps://github.com/**flyingsaucerproject/**flyingsaucer
https://github.**com/flyingsaucerproject/**flyingsaucerhttps://github.com/flyingsaucerproject/flyingsaucer

.

There is a mail in the
users@ mail archives from the last few days by another user showing how
to
use FlyingSaucer's ITextRenderer.


On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier**hansheinrichbrau**
n...@yahoo.dehansheinrichbraun@**yahoo.dehansheinrichbr...@yahoo.de

wrote:


   I wanted to integrate mail and pdf creation in my wicket application.


Till now I manage this by sending a request to a cocoon-2.2.0
application.
This is a good solution but because I see no upgrade way using my
cocoon
application
and integrating newer versions of spring I am looking for an
alternative.

Heiner

--**--**--**
--**-
To unsubscribe, e-mail: users-unsubscribe@wicket.apa**che.org
http://apache.org**
users-unsubscribe@**wicket.**apache.orghttp://wicket.apache.org
users-unsubscribe@**wicket.apache.orgusers-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



  --**

--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apa**che.orghttp://apache.org
users-unsubscribe@**wicket.apache.orgusers-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket mail and pdf

2013-06-15 Thread Piratenvisier

Martin forget this mail, I think its a problem of flyingsaucer.

Am 15.06.2013 16:52, schrieb Piratenvisier:

Hello Martin,

I succeeded including the mail functionality.
It has nothing to do with wicket.
The example helps you to send an email message with a link to wicket.
I succeeded in producung an Itext-Pdf Document and opening it by 
acrobat as a link.
I succeeded to produce a mail with an pdf document attachment produced 
by Itext
and then I tried to produce a pdfattachment of a wicket page by using 
ComponentRenderer.renderPage
and flyingsaucer and had the problem that the html-tag and the 
body-tag are missing



Am 13.06.2013 12:53, schrieb Martin Grigorov:

Hi,


On Thu, Jun 13, 2013 at 1:48 PM, Piratenvisier
hansheinrichbr...@yahoo.dewrote:


Martin thank you for your instantanious answers,

I tried the mailtemplate example changed resource.text to 
resource.pdf and

after some research concerning the error I got included
   IPackageResourceGuard packageResourceGuard =
getResourceSettings().**getPackageResourceGuard();
 if (packageResourceGuard instanceof
SecurePackageResourceGuard)
 {
 SecurePackageResourceGuard guard =
(SecurePackageResourceGuard)
packageResourceGuard;
 guard.addPattern(+*.pdf);
 }
in the init method of the Application.
I get the Document :
!DOCTYPE html
html

head
titleA template based on a page/title
/head

body
!-- The next is dynamically generated --
Hello,spanBraun/span

You receive this email because you are subscribed for our products.
We just released a new version of product X.

!-- This link is also dynamically generated --
Please download ita href=http://localhost:8080/**
mailtemplate/wicket/resource/**org.apache.wicket.examples.**
asemail.MailTemplate/resource.**pdfhttp://localhost:8080/mailtemplate/wicket/resource/org.apache.wicket.examples.asemail.MailTemplate/resource.pdf 


here/a!

br/br/
Sincerely,
The Marketing team
/body

/html
and when I use the link I get the error:

Problem accessing /mailtemplate/wicket/resource/**
org.apache.wicket.examples.**asemail.MailTemplate/resource.**pdf. 
Reason:


 Unable to find resource


What is still wrong ?

I guess resource.pdf is not copied in target/classes/ folder by 
Maven.

Check that resource.pdf is next to MailTemplate.class





Am 11.06.2013 08:45, schrieb Martin Grigorov:


Hi,

At http://www.wicket-library.com/**wicket-examples-6.0.x/**
mailtemplate/?0http://www.wicket-library.com/wicket-examples-6.0.x/mailtemplate/?0you 


can see an example of rendering the markup for a page, a panel and a
resource.
At 
http://markmail.org/message/**em4wqtsxhetu4skjhttp://markmail.org/message/em4wqtsxhetu4skjyou 
can see how to create

PDF out of the produced HTML.


On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
hansheinrichbr...@yahoo.de**wrote:

  Does anybody know some example example code to start with

concerning email and pdf

Thanks in advance
Heiner Braun
Am 10.06.2013 10:34, schrieb Martin Grigorov:

  Hi,
If you use Wicket 6.7.0+ then you can use ComponentRenderer class 
to get

the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/flyingsaucerproject/flyingsaucerhttps://github.com/**flyingsaucerproject/**flyingsaucer 

https://github.**com/flyingsaucerproject/**flyingsaucerhttps://github.com/flyingsaucerproject/flyingsaucer 


.

There is a mail in the
users@ mail archives from the last few days by another user 
showing how

to
use FlyingSaucer's ITextRenderer.


On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier**hansheinrichbrau**
n...@yahoo.dehansheinrichbraun@**yahoo.dehansheinrichbr...@yahoo.de

wrote:


   I wanted to integrate mail and pdf creation in my wicket 
application.



Till now I manage this by sending a request to a cocoon-2.2.0
application.
This is a good solution but because I see no upgrade way using my
cocoon
application
and integrating newer versions of spring I am looking for an
alternative.

Heiner

--**--**--** 


--**-
To unsubscribe, e-mail: users-unsubscribe@wicket.apa**che.org
http://apache.org**
users-unsubscribe@**wicket.**apache.orghttp://wicket.apache.org
users-unsubscribe@**wicket.apache.orgusers-unsubscr...@wicket.apache.org 


For additional commands, e-mail: users-h...@wicket.apache.org



  --**

--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apa**che.orghttp://apache.org
users-unsubscribe@**wicket.apache.orgusers-unsubscr...@wicket.apache.org 


For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





Re: Dynamic Context Menu using wicket-jquery-ui

2013-06-15 Thread Sebastien
Hi Colin,

By trying to help you on this topic, I finally end up with a working
ContextMenu implementation (so, I add it in
wicket-jquery-ui-6.8.2-SNAPSHOT...)
You can either use it or have a look at the code to complete your own if
this one does not full-fit your needs...

ContextMenu:
https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/ui/widget/menu/ContextMenu.java

ContextMenuBehavior:
https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/ui/widget/menu/ContextMenuBehavior.java

The usage is the following:

final ContextMenu menu = new ContextMenu(menu, newMenuItemList()) {

private static final long serialVersionUID = 1L;

@Override
protected void onContextMenu(AjaxRequestTarget target, Component
component)
{
//the menu-item list can be modified here
//this.getItemList().add(new MenuItem(my new item));
}

@Override
public void onClick(AjaxRequestTarget target, IMenuItem item)
{
}
};

this.add(menu);

final Label label = new Label(label, my label);
label.add(new ContextMenuBehavior(menu));
this.add(label);


There is a demo here:
http://www.7thweb.net/wicket-jquery-ui/menu/ContextMenuPage


Hope you will like it,
Best regards,
Sebastien.


Re: Wicket context menu component

2013-06-15 Thread Sebastien
Hi Bronius,

As (just) said in another thread, I did implement a ContextMenu in
wicket-jquery-ui.
http://apache-wicket.1842946.n4.nabble.com/Dynamic-Context-Menu-using-wicket-jquery-ui-td4659437.html

But, if you still wish/prefer continue implementing the context-menu
plugin, please post a quick-start of your current work in the
wicket-jquery-ui's group so I can see what's happens with your
implementation...

Thanks  best regards,
Sebastien.



On Thu, Jun 13, 2013 at 12:12 AM, bronius keptavi...@gmail.com wrote:

 Ok thanks again for helping out! :)
 Well I found that 'options.$trigger.attr(id)' from parameters returns id
 of link pressed (did not try yet on wicket side, but I think it should
 work)
 and 'key' returns which context menu was pressed. Now my links represents
 users and context menu some actions to do on users (say view profile). So
 now I kinda can set user id as link id and then retrieve link id from
 'options.$trigger.attr(id)'  and load user and do action from context
 menu
 on it. But for some reason it does not feel right :) Is it ok to implement
 it like that? What do you think? I don't have much wicket experience, but
 wicketish way for me seems that context menu behavior could be added to
 link
 component and then from that behavior I could invoke link's onClick lets
 say. How would you would go forward from here for that kind of use case?



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306p4659436.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




Re: user interface design: if any error, textbox channge to red ... ...

2013-06-15 Thread Andrey V. Panov
Also you can pass as second argument in AttributeModifier IModel object
which return error on if there feedback message available.

Similar to this:
new AttributeModifier(class, new Model() {
@Override
public Serializable getObject() {
if (currentBill != null  currentBill.id ==
item.getModelObject().id) {
return success;
}
return null;
}
})


wicket and flow

2013-06-15 Thread Piratenvisier

Is there any support to structure the flow of pages and forms.
I build for my realestate software structures, defining a state of a page,
the visibility of the links and tabs, the pages a link calls in this state,
 database action to be done and the pageparameters
the link tranfers to the new page.

But maybe there are more intelligent ways to organize this.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org