online form/invoice designer

2013-03-30 Thread aswath
Hello,
We are developing an accounting SaaS using servlets/jsps and gwt 

The users would like to create their own invoice template for print 
purpose.  

Here are the simple steps I am imagining.
- A form designer to the left side (3/4 of the window).
- A list of Invoice variables displayed on the right.  
- The user can drag  drop the invoice variables into the form
- Save the template as a HTML with placeholders for the variables.(Some 
convention to identify the placeholders in the HTML)

Are there any tools/companies or opensource projects which can perform the 
above.  I should be able to integrate that project into my own web 
application.

-Aswath

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: PopupPanel.center() not centering content?

2013-03-30 Thread Ed Bras
Any idea?
Should I report this as a bug? And what are the possible workarounds?


On Mon, Mar 25, 2013 at 2:59 PM, Ed Bras post2edb...@gmail.com wrote:

 Hi Jens,
 Thanks for the code example.
 I tired it and your code example works, see attachment.

 However, instead of setting the popup content you created in the above
 method createPopupContent I added a panel of my own (in the same html
  page), and it's not centered ;(..
 I disabled any animation (fade in) and borders/shading effects. As you can
 see, what's left is just a stupid panel with hardly any content.
 I don't understand why it's not centered.
 I played around with it, but could it get it to center, like:
 + Removing almost all styles, also the width of the outer panel.
 + However, If I use only the outer panel that contains the inner content,
 and fill it with some text as done in your example, it does center.
 So adding text will center it, but not putting panels in panels in
 panels... etc.. with some basic styles...

 Any idea?

 - Ed


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: PopupPanel.center() not centering content?

2013-03-30 Thread Jens
Can you share code for a popup content that reproduces the problem?

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: PopupPanel.center() not centering content?

2013-03-30 Thread Ed Bras
I will do, I just have to isolate the code, such that it's useful. I will
post it here in a few days.


On Sat, Mar 30, 2013 at 2:34 PM, Jens jens.nehlme...@gmail.com wrote:

 Can you share code for a popup content that reproduces the problem?

 -- J.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/RWjYAPGq9xw/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Problem with the function editRecord in a DynamicForm (SmartGwt)

2013-03-30 Thread Sanjiv Jivan
I've been using this functionality with DateItem and it works fine. So
unless you provide a minimal testcase that reproduces the problem there's
not much I can suggest.



On Fri, Mar 29, 2013 at 5:29 PM, sahli.sabr...@gmail.com wrote:

 Thank you so much for the reply,

 I works fine in the showcase but the problem is a don't use XML for
 managing data so i think that the problem is in type of formItem used for
 displaying Date in the DynamicForm.

 I used a FormItem and DateItem but i still had this problem but now  i'm
 using DateTimeItem , and strangely it works fine!! :)


 Thank you,

 Le vendredi 29 mars 2013 01:06:56 UTC+1, Sanjiv Jivan a écrit :

 This functionality works fine even for Date type fields. You can see this
 by clicking any row in the grid which calls editRecord(..) on the form.

 http://www.smartclient.com/**smartgwt/showcase/#featured_**pattern_reusehttp://www.smartclient.com/smartgwt/showcase/#featured_pattern_reuse

 If you're still having problems then post your question on the SmartGWT
 forum including a minimal test case : http://forums.smartclient.**
 com/forumdisplay.php?f=14http://forums.smartclient.com/forumdisplay.php?f=14

 Thanks,
 Sanjiv



 On Mon, Mar 25, 2013 at 5:58 AM, sahli@gmail.com wrote:

 i have in the GUI, a ListGrid and a DynamicForm. When i click on an
 element in the listGrid, i have to display the values of the edited record
 on the Dynamic form,
 for this, i use the EditRecord(Record r) of the dynamicForm


 public void updateInstanceDetailTabPane(**Record record){
 
 
 this.editionForm.editRecord(**record);
 
 }


 it works however for the fields of type Date , the values displayed are
 the date of today and not the reel value of the field.

 My question is where is the problem and how can i display the values of
 type date with their reel values?

 thank you,

 --
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-web-toolkit+**unsubscr...@googlegroups.com.
 To post to this group, send email to google-we...@**googlegroups.com.

 Visit this group at http://groups.google.com/**
 group/google-web-toolkit?hl=enhttp://groups.google.com/group/google-web-toolkit?hl=en
 **.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .




  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Complex JSON Overlay

2013-03-30 Thread Patrick Tucker
Names is defined as an object not an array.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Complex JSON and overlay types

2013-03-30 Thread Patrick Tucker
It looks like your array is defined at: records[0].names.John

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Same text, different Signature with each execution

2013-03-30 Thread Manuel Alejandro Fernandez Casado
Hi.

I´m using GWT 2.5 and I´m trying to sign a text, that is always the same.

Code (exceptions ommited):

public String sign(String text) {
 String sign = null;
 Signature signer = Signature.getInstance(SHA1withRSA);
signer.initSign(privKey);
signer.update(text.getBytes());
sign = Base64Utils.toBase64(signer.sign());
 return sign;
}


I put some System.out.println to see values. First are 8 first bytes from 
clear text (variable text). Second is clear text passed to base64 using 
Base64Utils (just in case Base64Utils returns different values). Third is 8 
first bytes from signed text. 

I put different executions:

Execution 1

  

50,57,54,35,49,35,49,51

MjI5NiMxIzEzNjU4Mzk0OTc5MzIjU0hBMXdpdGhSU0EjMTI3LjAuMC4xI3R1c2N1aWRhZG9yZXMuY29tIw==

11,82,116,126,85,-101,80,94


Execution 2


 50,57,54,35,49,35,49,51
MjI5NiMxIzEzNjU4Mzk0OTc5MzIjU0hBMXdpdGhSU0EjMTI3LjAuMC4xI3R1c2N1aWRhZG9yZXMuY29tIw==
-110,27,121,116,7,-99,-78,56


Execution 3


 50,57,54,35,49,35,49,51
MjI5NiMxIzEzNjU4Mzk0OTc5MzIjU0hBMXdpdGhSU0EjMTI3LjAuMC4xI3R1c2N1aWRhZG9yZXMuY29tIw==
33,-77,-128,14,-24,-38,93,124

 

*I can´t put private key but I can assure you (breakpoint see) that is 
always the same*.

So problem is clear. The method Signature.getInstance is returning a 
different Signature construction that makes signed text different each time.

Does anyone know why this happens?

Thanks in advance.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.